fidl_fuchsia_hardware_block_driver

Trait CommonProxyInterface

Source
pub trait CommonProxyInterface: Send + Sync {
    type QueryResponseFut: Future<Output = Result<(BlockInfo, u64), Error>> + Send;
    type QueueResponseFut: Future<Output = Result<(i32, BlockOp), Error>> + Send;

    // Required methods
    fn query(&self) -> Self::QueryResponseFut;
    fn queue(&self, txn: BlockOp) -> Self::QueueResponseFut;
}

Required Associated Types§

Source

type QueryResponseFut: Future<Output = Result<(BlockInfo, u64), Error>> + Send

Source

type QueueResponseFut: Future<Output = Result<(i32, BlockOp), Error>> + Send

Required Methods§

Source

fn query(&self) -> Self::QueryResponseFut

Source

fn queue(&self, txn: BlockOp) -> Self::QueueResponseFut

Implementors§

Source§

impl CommonProxyInterface for CommonProxy

Source§

type QueryResponseFut = QueryResponseFut<(BlockInfo, u64)>

Source§

type QueueResponseFut = QueryResponseFut<(i32, BlockOp)>