pub enum ActorMsg<Msg, Shutdown = Infallible> {
Msg(Msg),
Shutdown(Shutdown),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<Msg, Shutdown> Freeze for ActorMsg<Msg, Shutdown>
impl<Msg, Shutdown> RefUnwindSafe for ActorMsg<Msg, Shutdown>where
Msg: RefUnwindSafe,
Shutdown: RefUnwindSafe,
impl<Msg, Shutdown> Send for ActorMsg<Msg, Shutdown>
impl<Msg, Shutdown> Sync for ActorMsg<Msg, Shutdown>
impl<Msg, Shutdown> Unpin for ActorMsg<Msg, Shutdown>
impl<Msg, Shutdown> UnwindSafe for ActorMsg<Msg, Shutdown>where
Msg: UnwindSafe,
Shutdown: 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