#[repr(u8)]pub enum SenseKey {
Show 15 variants
NoSense = 0,
RecoveredError = 1,
NotReady = 2,
MediumError = 3,
HardwareError = 4,
IllegalRequest = 5,
UnitAttention = 6,
DataProtect = 7,
BlankCheck = 8,
VendorSpecific = 9,
CopyAborted = 10,
AbortedCommand = 11,
VolumeOverflow = 13,
Miscompare = 14,
Reserved = 15,
}Expand description
SCSI sense key (SPC-3 §4.5.6, Table 27).
Variants§
NoSense = 0
0x0 — no error.
RecoveredError = 1
0x1 — command succeeded with automatic recovery.
NotReady = 2
0x2 — the medium is not ready.
MediumError = 3
0x3 — unrecoverable medium error.
HardwareError = 4
0x4 — non-medium hardware error.
IllegalRequest = 5
0x5 — illegal CDB or parameter.
UnitAttention = 6
0x6 — reset, medium change, or parameter change.
DataProtect = 7
0x7 — write-protected medium.
BlankCheck = 8
0x8 — blank medium on a device that expected data.
VendorSpecific = 9
0x9 — vendor-specific.
CopyAborted = 10
0xA — COPY/COMPARE aborted.
AbortedCommand = 11
0xB — target aborted the command.
VolumeOverflow = 13
0xD — volume overflow on a sequential device.
Miscompare = 14
0xE — data did not match expected values.
Reserved = 15
Any reserved sense key value.
Trait Implementations§
impl Copy for SenseKey
impl Eq for SenseKey
impl StructuralPartialEq for SenseKey
Auto Trait Implementations§
impl Freeze for SenseKey
impl RefUnwindSafe for SenseKey
impl Send for SenseKey
impl Sync for SenseKey
impl Unpin for SenseKey
impl UnwindSafe for SenseKey
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