[−][src]Enum abscissa_core::Shutdown
Types of shutdown recognized by Abscissa
Variants
Graceful
Graceful shutdowns may take prolonged periods of time, allowing components to take their time to ensure shutdowns occur cleanly (e.g. draining currently active traffic rather than closing sockets)
Forced
Forced shutdowns indicate the program's user has requested it terminate immediately. Components receiving this kind of shutdown should do only critical cleanup tasks which can be completed quickly.
Crash
This shutdown type is a "best effort" to communicate that the application has suffered from a critical error and is in the process of exiting. Components may use this to do crash reporting prior to the application exit, as well as any other cleanup deemed suitable within a crashing application.
Trait Implementations
impl PartialEq<Shutdown> for Shutdown
[src]
fn eq(&self, other: &Shutdown) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for Shutdown
[src]
fn clone(&self) -> Shutdown
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Shutdown
[src]
impl Copy for Shutdown
[src]
impl Debug for Shutdown
[src]
impl Hash for Shutdown
[src]
Auto Trait Implementations
impl Unpin for Shutdown
impl Sync for Shutdown
impl Send for Shutdown
impl RefUnwindSafe for Shutdown
impl UnwindSafe for Shutdown
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,