pub enum ControlMessage {
PoisonPill,
Failure(Failure),
KillMe(ActorRef),
RegisterMonitoring,
}Expand description
Control Messages.
Variants§
PoisonPill
Requests the termination of the actor.
This is what is sent when the context.stop(actor_ref) is called.
Failure(Failure)
Tells an actor another failed.
KillMe(ActorRef)
Message sent to the father of an actor to request being terminated.
RegisterMonitoring
Message sent to be notified of failures.
Trait Implementations§
Source§impl Clone for ControlMessage
impl Clone for ControlMessage
Source§fn clone(&self) -> ControlMessage
fn clone(&self) -> ControlMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ControlMessage
impl !RefUnwindSafe for ControlMessage
impl Send for ControlMessage
impl Sync for ControlMessage
impl Unpin for ControlMessage
impl !UnwindSafe for ControlMessage
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