pub enum MemInfoErrorKind {
Open,
Read,
Rewind,
Seek,
}Expand description
A list of error categories related to manipulation of the /proc/meminfo pseudofile.
Variants§
Open
Opening /proc/meminfo failed.
Read
Reading /proc/meminfo failed.
Rewind
Rewinding /proc/meminfo failed.
Seek
Seeking /proc/meminfo failed.
Trait Implementations§
Source§impl Clone for MemInfoErrorKind
impl Clone for MemInfoErrorKind
Source§fn clone(&self) -> MemInfoErrorKind
fn clone(&self) -> MemInfoErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemInfoErrorKind
impl Debug for MemInfoErrorKind
Source§impl Display for MemInfoErrorKind
impl Display for MemInfoErrorKind
Source§impl Hash for MemInfoErrorKind
impl Hash for MemInfoErrorKind
Source§impl Ord for MemInfoErrorKind
impl Ord for MemInfoErrorKind
Source§fn cmp(&self, other: &MemInfoErrorKind) -> Ordering
fn cmp(&self, other: &MemInfoErrorKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MemInfoErrorKind
impl PartialEq for MemInfoErrorKind
Source§impl PartialOrd for MemInfoErrorKind
impl PartialOrd for MemInfoErrorKind
impl Copy for MemInfoErrorKind
impl Eq for MemInfoErrorKind
impl StructuralPartialEq for MemInfoErrorKind
Auto Trait Implementations§
impl Freeze for MemInfoErrorKind
impl RefUnwindSafe for MemInfoErrorKind
impl Send for MemInfoErrorKind
impl Sync for MemInfoErrorKind
impl Unpin for MemInfoErrorKind
impl UnwindSafe for MemInfoErrorKind
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