Enum safeword::Shutdown [−][src]
Describes the possible reasons for the runtime to unexpectedly stop (that is, not stop because of a signal).
Variants
FutureFinished(T)
The future passed to Safeword::run
unexpectedly finished.
FutureErr(E)
The future passed to Safeword::run
failed.
NoRuntime(Error)
The Runtime
creation failed.
SignalError(Error)
A Unix signal handler failed.
Trait Implementations
impl<T: Debug, E: Debug> Debug for Shutdown<T, E>
[src]
impl<T: Debug, E: Debug> Debug for Shutdown<T, E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T, E> Display for Shutdown<T, E> where
E: Display,
[src]
impl<T, E> Display for Shutdown<T, E> where
E: Display,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T, E> Error for Shutdown<T, E> where
T: Debug,
E: Error,
[src]
impl<T, E> Error for Shutdown<T, E> where
T: Debug,
E: Error,