Expand description
A Rust client library for the Fuchsia block protocol.
This crate provides a low-level client for interacting with block devices over the
fuchsia.hardware.block
FIDL protocol and the FIFO interface for block I/O.
See the BlockClient
trait.
Re-exports§
pub use cache::Cache;
Modules§
Structs§
- Block
Fifo Command - Block
Fifo Request - Block
Fifo Response - Block
Flags - Block
IoFlag - Remote
Block Client - RemoteBlockClient is a BlockClient that communicates with a real block device over FIDL.
- Remote
Block Client Sync - VmoId
- Wraps a vmo-id. Will panic if you forget to detach.
- Write
Options - Options that may be used for writes.
Enums§
Constants§
- NO_
TRACE_ ID - If a trace flow ID isn’t specified for requests, one will be generated.
Traits§
- AsBlock
Proxy - Block
Client - Represents a client connection to a block device. This is a simplified version of the block.fidl interface. Most users will use the RemoteBlockClient instantiation of this trait.