pub enum ShutdownSignal {
Sigint,
Sigterm,
Sigquit,
Sighup,
Sigusr2,
}Expand description
Shutdown signal names understood by Nest-style shutdown hooks.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ShutdownSignal
impl Clone for ShutdownSignal
Source§fn clone(&self) -> ShutdownSignal
fn clone(&self) -> ShutdownSignal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShutdownSignal
Source§impl Debug for ShutdownSignal
impl Debug for ShutdownSignal
Source§impl Display for ShutdownSignal
impl Display for ShutdownSignal
impl Eq for ShutdownSignal
Source§impl Hash for ShutdownSignal
impl Hash for ShutdownSignal
Source§impl Ord for ShutdownSignal
impl Ord for ShutdownSignal
Source§fn cmp(&self, other: &ShutdownSignal) -> Ordering
fn cmp(&self, other: &ShutdownSignal) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShutdownSignal
impl PartialEq for ShutdownSignal
Source§impl PartialOrd for ShutdownSignal
impl PartialOrd for ShutdownSignal
impl StructuralPartialEq for ShutdownSignal
Auto Trait Implementations§
impl Freeze for ShutdownSignal
impl RefUnwindSafe for ShutdownSignal
impl Send for ShutdownSignal
impl Sync for ShutdownSignal
impl Unpin for ShutdownSignal
impl UnsafeUnpin for ShutdownSignal
impl UnwindSafe for ShutdownSignal
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