pub enum ChildAction {
Stop,
Restart,
Delegate,
}Expand description
The action that a child actor will take when an error occurs.
Variants§
Stop
The child actor will stop.
Restart
The child actor will restart.
Delegate
Delegate the action to the child supervision strategy.
Trait Implementations§
Source§impl Clone for ChildAction
impl Clone for ChildAction
Source§fn clone(&self) -> ChildAction
fn clone(&self) -> ChildAction
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ChildAction
impl RefUnwindSafe for ChildAction
impl Send for ChildAction
impl Sync for ChildAction
impl Unpin for ChildAction
impl UnsafeUnpin for ChildAction
impl UnwindSafe for ChildAction
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