[−][src]Enum abscissa_core::Shutdown
Types of shutdown recognized by Abscissa
Variants
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 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.
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 Clone for Shutdown
[src]
impl Copy for Shutdown
[src]
impl Debug for Shutdown
[src]
impl Eq for Shutdown
[src]
impl Hash for Shutdown
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Shutdown> for Shutdown
[src]
impl StructuralEq for Shutdown
[src]
impl StructuralPartialEq for Shutdown
[src]
Auto Trait Implementations
impl RefUnwindSafe for Shutdown
impl Send for Shutdown
impl Sync for Shutdown
impl Unpin for Shutdown
impl UnwindSafe for Shutdown
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
fn as_any(&Self) -> &(dyn Any + 'static)
[src]
fn as_mut_any(&mut Self) -> &mut (dyn Any + 'static)
[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> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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>,