pub enum Error {
CreateBlockSignal(Error),
CreateSignalFd(ErrnoError),
CreateSigset(ErrnoError),
SignalFdPartialRead(usize),
SignalFdRead(ErrnoError),
}
Variants§
CreateBlockSignal(Error)
Failed to block the signal when creating signalfd.
CreateSignalFd(ErrnoError)
Failed to create a new signalfd.
CreateSigset(ErrnoError)
Failed to construct sigset when creating signalfd.
SignalFdPartialRead(usize)
Signalfd could be read, but didn’t return a full siginfo struct. This wraps the number of bytes that were actually read.
SignalFdRead(ErrnoError)
Unable to read from signalfd.
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()