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
Device Flag - Block
Fifo Command - Block
Fifo Request - Block
Fifo Response - Block
IoFlag - Flags which may be attached to FIFO requests.
- Inline
Crypto Options - Read
Options - Remote
Block Client - Remote
Block Client Sync - VmoId
- Wraps a vmo-id. Will panic if you forget to detach.
- Write
Flags - Options that may be used for writes.
- Write
Options
Enums§
- Block
Opcode - The opcode used in FIFO requests.
- Buffer
Slice - Mutable
Buffer Slice
Constants§
- NO_
TRACE_ ID - If a trace flow ID isn’t specified for requests, one will be generated.
Traits§
- 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.