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