rsiot/components/cmp_os_process/config.rs
use crate::message::{Message, MsgDataBound};
/// Конфигурация компонента cmp_os_process
#[derive(Clone)]
pub struct Config<TMsg>
where
TMsg: MsgDataBound,
{
/// # Пример
///
/// ```rust
/// fn_input: |_| None
/// ```
pub fn_input: fn(Message<TMsg>) -> Option<String>,
/// # Пример
///
/// ```rust
/// fn_output: |_| vec![]
/// ```
pub fn_output: fn(String) -> Vec<Message<TMsg>>,
}