pub enum MsgEnvelope<M>where
M: MessageBounds,{
Typed(M),
Net(NetMessage),
}Expand description
A message that is accepted by an actor’s mailbox
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<M> !Freeze for MsgEnvelope<M>
impl<M> !RefUnwindSafe for MsgEnvelope<M>
impl<M> Send for MsgEnvelope<M>
impl<M> !Sync for MsgEnvelope<M>
impl<M> Unpin for MsgEnvelope<M>where
M: Unpin,
impl<M> UnsafeUnpin for MsgEnvelope<M>where
M: UnsafeUnpin,
impl<M> !UnwindSafe for MsgEnvelope<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