pub enum SupervisionEvent<A: Actor> {
ActorStarted(Mailbox<A>),
ActorTerminated(Mailbox<A>),
ActorFailed(Mailbox<A>),
}Expand description
A lifecycle event emitted by a supervised actor.
Variants§
ActorStarted(Mailbox<A>)
The actor completed its startup hooks.
ActorTerminated(Mailbox<A>)
The actor stopped normally.
ActorFailed(Mailbox<A>)
The actor exited after a lifecycle or handler error.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for SupervisionEvent<A>
impl<A> RefUnwindSafe for SupervisionEvent<A>
impl<A> Send for SupervisionEvent<A>
impl<A> Sync for SupervisionEvent<A>
impl<A> Unpin for SupervisionEvent<A>
impl<A> UnsafeUnpin for SupervisionEvent<A>
impl<A> UnwindSafe for SupervisionEvent<A>
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