pub enum ExitReason<P>where
P: Actor,{
Handle,
Parent,
Err(P::Err),
}Expand description
Enumerates the reasons why a Actor might exit.
Variants§
Handle
Actor exited due to manual request through a Handle<_>
Parent
Err(P::Err)
Actor exited due to error.
Trait Implementations§
Source§impl<P> Debug for ExitReason<P>
impl<P> Debug for ExitReason<P>
Auto Trait Implementations§
impl<P> Freeze for ExitReason<P>
impl<P> RefUnwindSafe for ExitReason<P>
impl<P> Send for ExitReason<P>
impl<P> Sync for ExitReason<P>
impl<P> Unpin for ExitReason<P>
impl<P> UnsafeUnpin for ExitReason<P>
impl<P> UnwindSafe for ExitReason<P>
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