pub enum StatusParseError {
    MissingMode,
    MissingMemory,
    UnparsableMessage,
    UnknownMode(bool, bool),
    UnknownMemorySize(bool, bool, bool),
}Expand description
An error that can occur while trying to parse Status.
Variants§
MissingMode
Missing mode bytes
MissingMemory
Missing memory status bytes
UnparsableMessage
Message contains an error
UnknownMode(bool, bool)
Mode bits could not be mapped to any known operation mode
UnknownMemorySize(bool, bool, bool)
Memory size bits could not be mapped to any known memory size.
Trait Implementations§
source§impl Clone for StatusParseError
 
impl Clone for StatusParseError
source§fn clone(&self) -> StatusParseError
 
fn clone(&self) -> StatusParseError
Returns a copy 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 StatusParseError
 
impl Debug for StatusParseError
source§impl Display for StatusParseError
 
impl Display for StatusParseError
source§impl Error for StatusParseError
 
impl Error for StatusParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<StatusParseError> for Error
 
impl From<StatusParseError> for Error
source§fn from(source: StatusParseError) -> Self
 
fn from(source: StatusParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for StatusParseError
 
impl PartialEq for StatusParseError
source§fn eq(&self, other: &StatusParseError) -> bool
 
fn eq(&self, other: &StatusParseError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for StatusParseError
impl StructuralPartialEq for StatusParseError
Auto Trait Implementations§
impl Freeze for StatusParseError
impl RefUnwindSafe for StatusParseError
impl Send for StatusParseError
impl Sync for StatusParseError
impl Unpin for StatusParseError
impl UnwindSafe for StatusParseError
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