pub enum SystemMsg {
Stop,
Restart(String),
Terminated(ActorPath),
Watch(UntypedActorRef),
Unwatch(ActorPath),
ReceiveTimeout,
ChildFailed {
name: String,
error: String,
},
}Expand description
Messages on the actor’s system channel.
Variants§
Stop
Restart(String)
Terminated(ActorPath)
Watch(UntypedActorRef)
Unwatch(ActorPath)
ReceiveTimeout
ChildFailed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SystemMsg
impl !RefUnwindSafe for SystemMsg
impl Send for SystemMsg
impl Sync for SystemMsg
impl Unpin for SystemMsg
impl UnsafeUnpin for SystemMsg
impl !UnwindSafe for SystemMsg
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