pub enum Error {
CreateSigset(Error),
CreateSignalFd(Error),
CreateBlockSignal(Error),
SignalFdRead(Error),
SignalFdPartialRead(usize),
}
Variants§
CreateSigset(Error)
Failed to construct sigset when creating signalfd.
CreateSignalFd(Error)
Failed to create a new signalfd.
CreateBlockSignal(Error)
Failed to block the signal when creating signalfd.
SignalFdRead(Error)
Unable to read from 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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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