Enum proc_ctl::ProcCtlError
source · pub enum ProcCtlError {
NetworkError(Error),
ConfigurationError(String),
TooFewPorts(Vec<ProtocolPort>, u32),
}Expand description
Custom error type for proc-ctl
Variants§
NetworkError(Error)
There was an error communicating with the network
ConfigurationError(String)
The user made an error using the API, a more specific error message will be provided
TooFewPorts(Vec<ProtocolPort>, u32)
Fewer ports than expected were found on the matched process
Trait Implementations§
source§impl Debug for ProcCtlError
impl Debug for ProcCtlError
source§impl Display for ProcCtlError
impl Display for ProcCtlError
source§impl Error for ProcCtlError
impl Error for ProcCtlError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ProcCtlError
impl Send for ProcCtlError
impl Sync for ProcCtlError
impl Unpin for ProcCtlError
impl !UnwindSafe for ProcCtlError
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