Enum tabin_plugins::procfs::ProcFsError [−][src]
ProcFs errors
Every error from in this module can be converted into a ProcFsError
Variants
Io(Error)
Errors originating in IO
InsufficientData(String)
Error pulling all required data out of procfs
InvalidFloat(ParseFloatError)
Happens when we try to parse a float from something in procfs
InvalidInt(ParseIntError)
Happens when we try to parse an int from something in procfs
LoadProcsError(LoadProcsError)
When we receive an error loading an individual proc, we get this
ParseStatError(ParseStatError)
Happens when we try to parse a line from /proc/
ParseStateError(ParseStateError)
Happens when we get an invalid process state
Trait Implementations
impl Debug for ProcFsError
[src]
impl Display for ProcFsError
[src]
impl From<Error> for ProcFsError
[src]
fn from(original: Error) -> ProcFsError
[src]
impl From<LoadProcsError> for ProcFsError
[src]
fn from(original: LoadProcsError) -> ProcFsError
[src]
impl From<ParseFloatError> for ProcFsError
[src]
fn from(original: ParseFloatError) -> ProcFsError
[src]
impl From<ParseIntError> for ProcFsError
[src]
fn from(original: ParseIntError) -> ProcFsError
[src]
impl From<ParseStatError> for ProcFsError
[src]
fn from(original: ParseStatError) -> ProcFsError
[src]
impl From<ParseStateError> for ProcFsError
[src]
fn from(original: ParseStateError) -> ProcFsError
[src]
impl From<String> for ProcFsError
[src]
fn from(original: String) -> ProcFsError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ProcFsError
impl Send for ProcFsError
impl Sync for ProcFsError
impl Unpin for ProcFsError
impl !UnwindSafe for ProcFsError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,