pub struct MessageEnvelope<M> {
pub message: M,
pub sender: Sender,
}Expand description
Fields§
§message: M§sender: SenderImplementations§
Source§impl<M> MessageEnvelope<M>
impl<M> MessageEnvelope<M>
Auto Trait Implementations§
impl<M> Freeze for MessageEnvelope<M>where
M: Freeze,
impl<M> !RefUnwindSafe for MessageEnvelope<M>
impl<M> Send for MessageEnvelope<M>where
M: Send,
impl<M> Sync for MessageEnvelope<M>where
M: Sync,
impl<M> Unpin for MessageEnvelope<M>where
M: Unpin,
impl<M> UnsafeUnpin for MessageEnvelope<M>where
M: UnsafeUnpin,
impl<M> !UnwindSafe for MessageEnvelope<M>
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