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§
source§impl Debug for InternalError
impl Debug for InternalError
source§impl Display for InternalError
impl Display for InternalError
Auto Trait Implementations§
impl Freeze for InternalError
impl RefUnwindSafe for InternalError
impl Send for InternalError
impl Sync for InternalError
impl Unpin for InternalError
impl UnwindSafe for InternalError
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