pub struct MemInfoError { /* private fields */ }
Expand description
The error type for the MemInfo
struct type.
Implementations§
Source§impl MemInfoError
impl MemInfoError
Sourcepub fn kind(&self) -> &MemInfoErrorKind
pub fn kind(&self) -> &MemInfoErrorKind
Returns the error kind.
Trait Implementations§
Source§impl Debug for MemInfoError
impl Debug for MemInfoError
Source§impl Display for MemInfoError
impl Display for MemInfoError
Source§impl Error for MemInfoError
impl Error for MemInfoError
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()
Auto Trait Implementations§
impl Freeze for MemInfoError
impl !RefUnwindSafe for MemInfoError
impl Send for MemInfoError
impl Sync for MemInfoError
impl Unpin for MemInfoError
impl !UnwindSafe for MemInfoError
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