pub enum TerminationError {
SignallingFailed {
source: Error,
signal: &'static str,
},
TerminationFailed {
not_terminated_after_sigint: Error,
not_terminated_after_sigterm: Error,
not_terminated_after_sigkill: Error,
},
}Variants§
Trait Implementations§
Source§impl Debug for TerminationError
impl Debug for TerminationError
Source§impl Display for TerminationError
impl Display for TerminationError
Source§impl Error for TerminationError
impl Error for TerminationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TerminationError
impl !RefUnwindSafe for TerminationError
impl Send for TerminationError
impl Sync for TerminationError
impl Unpin for TerminationError
impl !UnwindSafe for TerminationError
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