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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".