Skip to main content

Crate libscsi

Crate libscsi 

Source

Structs§

Cdb
A validated SCSI CDB (Command Descriptor Block).
OpenOpts
Options controlling how a device is opened.
ScsiCommand
A SCSI command ready to be issued to a device.
ScsiDevice
An open handle to a SCSI device.
ScsiResult
Result of executing a SCSI command.
Sense
Sense data returned by the device, typically on CHECK CONDITION.

Enums§

Direction
Data transfer direction for a SCSI command.
Error
Library-level error type.
ScsiStatus
SCSI status byte returned in the command response.

Constants§

MAX_CDB_LEN
Maximum CDB size this library supports.
MAX_SENSE_LEN
Sense buffer size allocated per command.