pub enum FailurePhase {
OnStart,
OnRun,
OnStop,
}Expand description
Represents the phase during which an actor failure occurred.
Variants§
OnStart
Actor failed during the on_start lifecycle hook.
OnRun
Actor failed during execution in the on_run lifecycle hook.
OnStop
Actor failed during the on_stop lifecycle hook.
Trait Implementations§
Source§impl Clone for FailurePhase
impl Clone for FailurePhase
Source§fn clone(&self) -> FailurePhase
fn clone(&self) -> FailurePhase
Returns a copy 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 moreSource§impl Debug for FailurePhase
impl Debug for FailurePhase
Source§impl Display for FailurePhase
impl Display for FailurePhase
Source§impl PartialEq for FailurePhase
impl PartialEq for FailurePhase
impl Copy for FailurePhase
impl Eq for FailurePhase
impl StructuralPartialEq for FailurePhase
Auto Trait Implementations§
impl Freeze for FailurePhase
impl RefUnwindSafe for FailurePhase
impl Send for FailurePhase
impl Sync for FailurePhase
impl Unpin for FailurePhase
impl UnwindSafe for FailurePhase
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