Expand description
storage_device provides a higher-level portable API (Device) for interacting with block
devices. This library also provides the [Buffer] type which is a contiguous, splittable
transfer buffer allocated out of a shared pool which can be used for I/O.
The two main implementations are
block_device::BlockDevice, which is backed by a [block_client::Device] and used on Fuchsia devices, andfile_backed_device::FileBackedDevice, which is backed by a regular file and is portable.
Re-exports§
pub use splittable_buffer::SplittableBuffer;pub use splittable_buffer::SubHandle;
Modules§
- block_
device - buffer
- buffer_
allocator - fake_
device - file_
backed_ device - pinned_
buffer_ allocator - ranged_
device - splittable_
buffer
Structs§
- Device
Holder - Inline
Crypto Options - Read
Options - Write
Flags - Options that may be used for writes.
- Write
Options
Traits§
- Device
- Device is an abstract representation of an underlying block device.