Module blockdevice

Source
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).
BlockCount
The a number of blocks (or sectors).
BlockIdx
The linear numeric address of a block (or sector).
BlockIter
An iterator returned from Block::range.

Traits§

BlockDevice
A block device - a device which can read and write blocks (or sectors). Only supports devices which are <= 2 TiB in size.