pub enum RunExit<D> {
Stopped(D),
EnvironmentClosed,
}Expand description
The non-failing ways an actor process finishes.
Variants§
Stopped(D)
The behavior explicitly stopped.
EnvironmentClosed
The environment closed before the behavior stopped.
Trait Implementations§
impl<D> Eq for RunExit<D>where
D: Eq,
impl<D> StructuralPartialEq for RunExit<D>where
D: PartialEq,
Auto Trait Implementations§
impl<D> Freeze for RunExit<D>where
D: Freeze,
impl<D> RefUnwindSafe for RunExit<D>where
D: RefUnwindSafe,
impl<D> Send for RunExit<D>where
D: Send,
impl<D> Sync for RunExit<D>where
D: Sync,
impl<D> Unpin for RunExit<D>where
D: Unpin,
impl<D> UnsafeUnpin for RunExit<D>where
D: UnsafeUnpin,
impl<D> UnwindSafe for RunExit<D>where
D: UnwindSafe,
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