pub struct Sense {
pub key: u8,
pub asc: u8,
pub ascq: u8,
}Expand description
Sense code representation
Fields§
§key: u8Provides generic information describing an error or exception condition.
asc: u8Additional Sense Code. Indicates further information related to the error or exception reported in the key field.
ascq: u8Additional Sense Code Qualifier. Indicates further detailed information related to the additional sense code.
Implementations§
Trait Implementations§
impl Copy for Sense
impl Eq for Sense
impl StructuralPartialEq for Sense
Auto Trait Implementations§
impl Freeze for Sense
impl RefUnwindSafe for Sense
impl Send for Sense
impl Sync for Sense
impl Unpin for Sense
impl UnwindSafe for Sense
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