pub enum Strategy {
Stop,
Restart,
Escalate,
}Expand description
Supervision strategy
Returned in Actor.supervision_strategy
Variants§
Stop
Stop the child actor
Restart
Attempt to restart the child actor
Escalate
Escalate the failure to a parent
Auto Trait Implementations§
impl Freeze for Strategy
impl RefUnwindSafe for Strategy
impl Send for Strategy
impl Sync for Strategy
impl Unpin for Strategy
impl UnwindSafe for Strategy
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