pub enum ProcError {
Io(Error),
Utf8(Utf8Error),
ParseInt(ParseIntError),
ParseFloat(ParseFloatError),
UnexpectedFormat(String),
ParseError,
InternalError,
PermissionDenied,
NotFound,
}Variants§
Io(Error)
Utf8(Utf8Error)
ParseInt(ParseIntError)
ParseFloat(ParseFloatError)
UnexpectedFormat(String)
ParseError
InternalError
PermissionDenied
NotFound
Implementations§
Trait Implementations§
Source§impl Error for ProcError
impl Error for ProcError
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<ParseFloatError> for ProcError
impl From<ParseFloatError> for ProcError
Source§fn from(err: ParseFloatError) -> Self
fn from(err: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ProcError
impl From<ParseIntError> for ProcError
Source§fn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProcError
impl !RefUnwindSafe for ProcError
impl Send for ProcError
impl Sync for ProcError
impl Unpin for ProcError
impl UnsafeUnpin 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