pub enum UnexpectedExit {
KeepEmpty,
Retire,
}Expand description
Policy after an unrequested exact worker stop leaves its proxy empty.
Variants§
KeepEmpty
Retain the key and empty stable proxy for explicit replacement or stop.
Retire
Drain the stable proxy and release the key.
Trait Implementations§
Source§impl Clone for UnexpectedExit
impl Clone for UnexpectedExit
Source§fn clone(&self) -> UnexpectedExit
fn clone(&self) -> UnexpectedExit
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 UnexpectedExit
impl Debug for UnexpectedExit
Source§impl PartialEq for UnexpectedExit
impl PartialEq for UnexpectedExit
impl Copy for UnexpectedExit
impl Eq for UnexpectedExit
impl StructuralPartialEq for UnexpectedExit
Auto Trait Implementations§
impl Freeze for UnexpectedExit
impl RefUnwindSafe for UnexpectedExit
impl Send for UnexpectedExit
impl Sync for UnexpectedExit
impl Unpin for UnexpectedExit
impl UnsafeUnpin for UnexpectedExit
impl UnwindSafe for UnexpectedExit
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