pub enum EntryRetirement {
Cancellation,
StartFailed,
UnexpectedWorkerStopped,
Stop,
Shutdown,
}Expand description
Why one keyed service is being removed after its proxy drains.
Variants§
Cancellation
The accepted worker change was cancelled.
StartFailed
The initial worker could not become ready.
UnexpectedWorkerStopped
Policy selected retirement after the ready worker stopped.
Stop
An admitted explicit stop observed the stable proxy’s exact exit.
Shutdown
Global supervisor shutdown drained or proved absent this entry.
Trait Implementations§
Source§impl Clone for EntryRetirement
impl Clone for EntryRetirement
Source§fn clone(&self) -> EntryRetirement
fn clone(&self) -> EntryRetirement
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 EntryRetirement
impl Debug for EntryRetirement
Source§impl PartialEq for EntryRetirement
impl PartialEq for EntryRetirement
impl Copy for EntryRetirement
impl Eq for EntryRetirement
impl StructuralPartialEq for EntryRetirement
Auto Trait Implementations§
impl Freeze for EntryRetirement
impl RefUnwindSafe for EntryRetirement
impl Send for EntryRetirement
impl Sync for EntryRetirement
impl Unpin for EntryRetirement
impl UnsafeUnpin for EntryRetirement
impl UnwindSafe for EntryRetirement
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