pub enum GetProcessInfoError {
ProcessNotFound(ProcessId),
ManagerCommunicationError(RecvError),
UnExpectedIoError(Error),
}
Expand description
Error type returned when trying to get an information about the process.
Variants§
ProcessNotFound(ProcessId)
The process with given ID was not found (the ID is wrong or the process has been already killed).
ManagerCommunicationError(RecvError)
Cannot communicate with spawned process manager. Probably process manager task has been aborted.
UnExpectedIoError(Error)
An unexpected IO error occurred when trying to get an information about the process.
Trait Implementations§
Source§impl Debug for GetProcessInfoError
impl Debug for GetProcessInfoError
Source§impl Display for GetProcessInfoError
impl Display for GetProcessInfoError
Source§impl Error for GetProcessInfoError
impl Error for GetProcessInfoError
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()
Source§impl From<Error> for GetProcessInfoError
impl From<Error> for GetProcessInfoError
Auto Trait Implementations§
impl Freeze for GetProcessInfoError
impl !RefUnwindSafe for GetProcessInfoError
impl Send for GetProcessInfoError
impl Sync for GetProcessInfoError
impl Unpin for GetProcessInfoError
impl !UnwindSafe for GetProcessInfoError
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