Module fs::block
Block Device Abstraction Freestanding-safe virtual block device interface.
Structs
| BlockDevice |
Traits
| BlockDriver | What a block driver provides: whole-sector reads and writes at a sector address, 0 on success. A buffer covers buf.len / sector_size sectors (the device's sector_size), and its length is a multiple of it. BlockDevice::new takes any such type, and a BlockDevice has the same methods, so it is one too. |
Macros
| BLOCK_SIZE | bytes per sector (standard) |