pub struct BusEvent<M>{
pub source: NodeId,
pub time: SystemTime,
pub msg: M,
}Fields§
§source: NodeId§time: SystemTime§msg: MImplementations§
Source§impl<M: BusType> BusEvent<M>
impl<M: BusType> BusEvent<M>
pub fn type_erase(self) -> AnyBusEvent
pub fn bus_send(self)
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for BusEvent<M>where
M: Freeze,
impl<M> RefUnwindSafe for BusEvent<M>where
M: RefUnwindSafe,
impl<M> Send for BusEvent<M>
impl<M> Sync for BusEvent<M>
impl<M> Unpin for BusEvent<M>where
M: Unpin,
impl<M> UnwindSafe for BusEvent<M>where
M: UnwindSafe,
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