fidl_fuchsia_storage_partitions

Trait PartitionsManagerProxyInterface

Source
pub trait PartitionsManagerProxyInterface: Send + Sync {
    type GetBlockInfoResponseFut: Future<Output = Result<PartitionsManagerGetBlockInfoResult, Error>> + Send;
    type CreateTransactionResponseFut: Future<Output = Result<PartitionsManagerCreateTransactionResult, Error>> + Send;
    type CommitTransactionResponseFut: Future<Output = Result<PartitionsManagerCommitTransactionResult, Error>> + Send;

    // Required methods
    fn get_block_info(&self) -> Self::GetBlockInfoResponseFut;
    fn create_transaction(&self) -> Self::CreateTransactionResponseFut;
    fn commit_transaction(
        &self,
        transaction: EventPair,
    ) -> Self::CommitTransactionResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§