Expand description
Traits and types for working with Block Devices.
Generic code for handling block devices, such as types for identifying a particular block on a block device by its index.
Structs§
- Block
- A standard 512 byte block (also known as a sector).
- Block
Count - The a number of blocks (or sectors).
- Block
Idx - The linear numeric address of a block (or sector).
- Block
Iter - An iterator returned from
Block::range
.
Traits§
- Block
Device - A block device - a device which can read and write blocks (or sectors). Only supports devices which are <= 2 TiB in size.