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 struct to wrap a byte-slice-convertable struct into a fixed-size buffer that wraps its boundaries as necessary.

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 an arbitrary 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.