Crate scsi

source ·

Modules

Contains implementations for the different SCSI commands and responses, as well as helper utilities to, for example, treat the SCSI device as a normal block devies.

Structs

A general error struct for the package.
A wrapper struct that implements the Buffer trait around a backing &mut [u8].

Enums

The cause of a returned error. This is implemented as an enum with a large number of variants to reduce allocations.

Traits

A trait to provide an abstraction over a FIFO byte buffer.
A trait to represent a struct that can be pulled from a byte buffer in a constant, predetermined way.
A trait to represent a struct that can be pushed to a byte buffer in a constant, predetermined way.
The trait that all communication devices should implement if they are to be used to transfer SCSI information.