pub enum ShutdownReason {
PreStop,
Signal,
Internal,
}Expand description
Source of the first shutdown request.
Variants§
PreStop
Represents the pre stop case.
Signal
Represents the signal case.
Internal
Represents the internal case.
Implementations§
Trait Implementations§
Source§impl Clone for ShutdownReason
impl Clone for ShutdownReason
impl Copy for ShutdownReason
Source§impl Debug for ShutdownReason
impl Debug for ShutdownReason
impl Eq for ShutdownReason
Source§impl PartialEq for ShutdownReason
impl PartialEq for ShutdownReason
impl StructuralPartialEq for ShutdownReason
Auto Trait Implementations§
impl Freeze for ShutdownReason
impl RefUnwindSafe for ShutdownReason
impl Send for ShutdownReason
impl Sync for ShutdownReason
impl Unpin for ShutdownReason
impl UnsafeUnpin for ShutdownReason
impl UnwindSafe for ShutdownReason
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