#[repr(C)]pub struct SenseData {
pub valid: bool,
pub response_code: u8,
pub sense_key: u8,
pub ili: bool,
pub eom: bool,
pub filemark: bool,
pub information: u32,
pub additional_len: u8,
pub cmd_specific: u32,
pub asc: u8,
pub ascq: u8,
}Expand description
Represents SCSI Sense Data, providing detailed error information.
Fields§
§valid: boolIndicates if the information field is valid.
response_code: u8The response code, indicating the format of the sense data.
sense_key: u8The general category of the error.
ili: boolIncorrect Length Indicator.
eom: boolEnd-of-Medium indicator.
filemark: boolFilemark indicator.
information: u32Command-specific information.
additional_len: u8The length of the additional sense data.
cmd_specific: u32Command-specific information.
asc: u8Additional Sense Code.
ascq: u8Additional Sense Code Qualifier.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SenseData
Auto Trait Implementations§
impl Freeze for SenseData
impl RefUnwindSafe for SenseData
impl Send for SenseData
impl Sync for SenseData
impl Unpin for SenseData
impl UnsafeUnpin for SenseData
impl UnwindSafe for SenseData
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