fs_management::filesystem

Trait BlockConnector

Source
pub trait BlockConnector: Send + Sync {
    // Required method
    fn connect_volume(&self) -> Result<ClientEnd<VolumeMarker>, Error>;

    // Provided methods
    fn connect_partition(&self) -> Result<ClientEnd<PartitionMarker>, Error> { ... }
    fn connect_block(&self) -> Result<ClientEnd<BlockMarker>, Error> { ... }
}
Expand description

An abstract connector for things that speak fuchsia.hardware.block.Block and similar protocols.

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Source§

impl BlockConnector for ControllerProxy

Implementors§