pub enum ProcError {
ProcessNotFound(String),
PortNotFound(u16),
PermissionDenied(u32),
InvalidInput(String),
SystemError(String),
Timeout(String),
ParseError(String),
NotSupported(String),
ProcessGone(u32),
SignalError(String),
}Expand description
Main error type for proc operations
Variants§
ProcessNotFound(String)
PortNotFound(u16)
PermissionDenied(u32)
InvalidInput(String)
SystemError(String)
Timeout(String)
ParseError(String)
NotSupported(String)
ProcessGone(u32)
SignalError(String)
Trait Implementations§
Source§impl Error for ProcError
impl Error for ProcError
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 ProcError
impl RefUnwindSafe for ProcError
impl Send for ProcError
impl Sync for ProcError
impl Unpin for ProcError
impl UnwindSafe for ProcError
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