pub enum ShutdownRejection {
AlreadyStopping,
AlreadyStopped,
}Expand description
Semantic rejection of exact orderly shutdown.
Variants§
Trait Implementations§
Source§impl Clone for ShutdownRejection
impl Clone for ShutdownRejection
Source§fn clone(&self) -> ShutdownRejection
fn clone(&self) -> ShutdownRejection
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 ShutdownRejection
impl Debug for ShutdownRejection
Source§impl Display for ShutdownRejection
impl Display for ShutdownRejection
Source§impl Error for ShutdownRejection
impl Error for ShutdownRejection
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ShutdownRejection
impl PartialEq for ShutdownRejection
impl Copy for ShutdownRejection
impl Eq for ShutdownRejection
impl StructuralPartialEq for ShutdownRejection
Auto Trait Implementations§
impl Freeze for ShutdownRejection
impl RefUnwindSafe for ShutdownRejection
impl Send for ShutdownRejection
impl Sync for ShutdownRejection
impl Unpin for ShutdownRejection
impl UnsafeUnpin for ShutdownRejection
impl UnwindSafe for ShutdownRejection
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