pub enum InstallSignalHandlersError {
AlreadyInstalled,
Io(Error),
}Expand description
Errors returned when installing process-wide signal handlers for a runtime.
Variants§
Trait Implementations§
Source§impl Debug for InstallSignalHandlersError
impl Debug for InstallSignalHandlersError
Source§impl Display for InstallSignalHandlersError
impl Display for InstallSignalHandlersError
Source§impl Error for InstallSignalHandlersError
impl Error for InstallSignalHandlersError
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 InstallSignalHandlersError
impl !RefUnwindSafe for InstallSignalHandlersError
impl Send for InstallSignalHandlersError
impl Sync for InstallSignalHandlersError
impl Unpin for InstallSignalHandlersError
impl UnsafeUnpin for InstallSignalHandlersError
impl !UnwindSafe for InstallSignalHandlersError
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