pub enum StopRejection<Key> {
Unknown {
key: Key,
},
Unavailable {
key: Key,
},
AlreadyStopping {
key: Key,
},
ShuttingDown {
key: Key,
},
OperationExhausted {
key: Key,
},
}Expand description
Complete keyed rejection of an explicit stop.
Variants§
Unknown
The submitted key is not retained.
Fields
§
key: KeyThe entry cannot begin an explicit stop in its current phase.
AlreadyStopping
The entry is already stopping.
Fields
§
key: KeyShuttingDown
Global shutdown has closed mutation.
Fields
§
key: KeyOperationExhausted
No fresh ordered management operation can be issued.
Fields
§
key: KeyTrait Implementations§
Source§impl<Key: Clone> Clone for StopRejection<Key>
impl<Key: Clone> Clone for StopRejection<Key>
Source§fn clone(&self) -> StopRejection<Key>
fn clone(&self) -> StopRejection<Key>
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<Key: Debug> Debug for StopRejection<Key>
impl<Key: Debug> Debug for StopRejection<Key>
Source§impl<Key: PartialEq> PartialEq for StopRejection<Key>
impl<Key: PartialEq> PartialEq for StopRejection<Key>
impl<Key: Eq> Eq for StopRejection<Key>
impl<Key> StructuralPartialEq for StopRejection<Key>
Auto Trait Implementations§
impl<Key> Freeze for StopRejection<Key>where
Key: Freeze,
impl<Key> RefUnwindSafe for StopRejection<Key>where
Key: RefUnwindSafe,
impl<Key> Send for StopRejection<Key>where
Key: Send,
impl<Key> Sync for StopRejection<Key>where
Key: Sync,
impl<Key> Unpin for StopRejection<Key>where
Key: Unpin,
impl<Key> UnsafeUnpin for StopRejection<Key>where
Key: UnsafeUnpin,
impl<Key> UnwindSafe for StopRejection<Key>where
Key: UnwindSafe,
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