fidl_examples_keyvaluestore_supportexports

Trait StoreProxyInterface

Source
pub trait StoreProxyInterface: Send + Sync {
    type WriteItemResponseFut: Future<Output = Result<StoreWriteItemResult, Error>> + Send;
    type ExportResponseFut: Future<Output = Result<StoreExportResult, Error>> + Send;

    // Required methods
    fn write_item(&self, attempt: &Item) -> Self::WriteItemResponseFut;
    fn export(&self, empty: Vmo) -> Self::ExportResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn write_item(&self, attempt: &Item) -> Self::WriteItemResponseFut

Source

fn export(&self, empty: Vmo) -> Self::ExportResponseFut

Implementors§