Expand description
USB Mass Storage Class (MSC) implementation.
This implements the USB Bulk-Only Transport (BOT) protocol with a SCSI transparent command set suitable for a simple block device.
Structs§
- Block
Device Adapter - Adapts a
block_device_driver::BlockDevicewithSIZE-byte blocks into anAsyncBlockDevice. - Config
- Configuration for the USB Mass Storage Class.
- MscClass
- USB Mass Storage Class (MSC) implementation.
- Sector
Cache - A cacheing wrapper for
AsyncBlockDevicethat aggregates writes to a device with large blocks, eliminating multiple flash read-erase-write cycles. - State
- Internal state for the MSC class.
Enums§
- Stop
Reason - Why
MscClass::runreturned.
Traits§
- Async
Block Device - Async block device abstraction used by
MscClass. - Block
Device - Trait implemented by synchronous block devices used by
MscClass.