pub struct MsgBusToBroadcast<TMsg>where
TMsg: MsgDataBound,{
pub msg_bus: CmpInOut<TMsg>,
pub output: Sender<Message<TMsg>>,
}
Expand description
Задача перенаправления сообщений из CmpInOut
в канал broadcast
Fields§
§msg_bus: CmpInOut<TMsg>
Входящий поток сообщений из входа компонента
output: Sender<Message<TMsg>>
Исходящий поток сообщений
Implementations§
Source§impl<TMsg> MsgBusToBroadcast<TMsg>where
TMsg: MsgDataBound,
impl<TMsg> MsgBusToBroadcast<TMsg>where
TMsg: MsgDataBound,
Auto Trait Implementations§
impl<TMsg> Freeze for MsgBusToBroadcast<TMsg>
impl<TMsg> !RefUnwindSafe for MsgBusToBroadcast<TMsg>
impl<TMsg> Send for MsgBusToBroadcast<TMsg>
impl<TMsg> Sync for MsgBusToBroadcast<TMsg>
impl<TMsg> Unpin for MsgBusToBroadcast<TMsg>
impl<TMsg> !UnwindSafe for MsgBusToBroadcast<TMsg>
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