pub enum PidSetError {
EpollCreate(Error),
PidFdOpenSyscall(u32, Error),
EpollCtl(Error),
EpollWait(Error),
PidNotFound(u32),
EpollClose(Error),
}
Expand description
Errors that can occur in the PidSet
.
Variants§
EpollCreate(Error)
PidFdOpenSyscall(u32, Error)
EpollCtl(Error)
EpollWait(Error)
PidNotFound(u32)
EpollClose(Error)
Trait Implementations§
Source§impl Debug for PidSetError
impl Debug for PidSetError
Source§impl Display for PidSetError
impl Display for PidSetError
Source§impl Error for PidSetError
impl Error for PidSetError
1.30.0 · 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 PidSetError
impl !RefUnwindSafe for PidSetError
impl Send for PidSetError
impl Sync for PidSetError
impl Unpin for PidSetError
impl !UnwindSafe for PidSetError
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