pub struct Config<TMessage> {
pub channel: Sender<Message<TMessage>>,
}
Expand description
Настройки компонента cmp_add_output_stream
Fields§
§channel: Sender<Message<TMessage>>
Внешний канал mpsc, в который пересылаются исходящие сообщения
Trait Implementations§
Source§impl<TMsg, TService> IComponentProcess<Config<TMsg>, TMsg, TService> for Component<Config<TMsg>, TMsg, TService>where
TMsg: MsgDataBound + 'static,
TService: ServiceBound,
impl<TMsg, TService> IComponentProcess<Config<TMsg>, TMsg, TService> for Component<Config<TMsg>, TMsg, TService>where
TMsg: MsgDataBound + 'static,
TService: ServiceBound,
Auto Trait Implementations§
impl<TMessage> Freeze for Config<TMessage>
impl<TMessage> RefUnwindSafe for Config<TMessage>
impl<TMessage> Send for Config<TMessage>where
TMessage: Send,
impl<TMessage> Sync for Config<TMessage>where
TMessage: Send,
impl<TMessage> Unpin for Config<TMessage>
impl<TMessage> UnwindSafe for Config<TMessage>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more