Struct procfs::InternalError

source ·
pub struct InternalError {
    pub msg: String,
    pub file: &'static str,
    pub line: u32,
    pub backtrace: Backtrace,
}
Expand description

An internal error in the procfs crate

If you encounter this error, consider it a bug and please report it on github.

If you compile with the optional backtrace feature (disabled by default), you can gain access to a stack trace of where the error happened.

Fields§

§msg: String§file: &'static str§line: u32§backtrace: Backtrace

Trait Implementations§

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.