Enum neko::pty::ProcError
[−]
pub enum ProcError { ListAllPidLen, ListAllPidLenUnvalid, }
The enum ProcError
defines the possible errors
from constructor Proc.
Variants
ListAllPidLen
Can't count the number of process.
ListAllPidLenUnvalid
There isn't a valid number of process.
Trait Implementations
impl Debug for ProcError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Display for ProcError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
The function fmt
formats the value using
the given formatter.
impl Error for ProcError
fn description(&self) -> &str
The function description
returns a short description of
the error.
fn cause(&self) -> Option<&Error>
The function cause
returns the lower-level cause of
this error if any.