pub enum SupervisionFailureReason {
RestartDenied(RestartDenial),
StableChildStopped,
}Expand description
Why a supervisor could no longer preserve its child topology.
Variants§
RestartDenied(RestartDenial)
A restart policy admitted the worker termination, but a later restart constraint denied the requested replacement set.
StableChildStopped
The stable proxy itself stopped and therefore cannot accept a fresh worker incarnation at its existing address.
Trait Implementations§
Source§impl Clone for SupervisionFailureReason
impl Clone for SupervisionFailureReason
Source§fn clone(&self) -> SupervisionFailureReason
fn clone(&self) -> SupervisionFailureReason
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 moreSource§impl Debug for SupervisionFailureReason
impl Debug for SupervisionFailureReason
Source§impl PartialEq for SupervisionFailureReason
impl PartialEq for SupervisionFailureReason
impl Copy for SupervisionFailureReason
impl Eq for SupervisionFailureReason
impl StructuralPartialEq for SupervisionFailureReason
Auto Trait Implementations§
impl Freeze for SupervisionFailureReason
impl RefUnwindSafe for SupervisionFailureReason
impl Send for SupervisionFailureReason
impl Sync for SupervisionFailureReason
impl Unpin for SupervisionFailureReason
impl UnsafeUnpin for SupervisionFailureReason
impl UnwindSafe for SupervisionFailureReason
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