pub enum ActorStatus {
Paniced(String),
Stopped(String),
}Expand description
Status messages sent from an actor to the supervising router.
Each variant embeds the ID of the actor to which the message pertains.
Variants§
Paniced(String)
The actor thread paniced. The panic is typically caught by the wrapper function the router uses around the actor thread, but actor functions may also catch their own panics and communicate them back to the router.
Stopped(String)
The actor thread has stopped or is in the process of stopping. This is typically send from the actor thread to the router immediately before it exits.
Auto Trait Implementations§
impl Freeze for ActorStatus
impl RefUnwindSafe for ActorStatus
impl Send for ActorStatus
impl Sync for ActorStatus
impl Unpin for ActorStatus
impl UnwindSafe for ActorStatus
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