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