pub trait StorageClientInterface {
    // Required methods
    fn get_object<'life0, 'async_trait>(
        &'life0 self,
        key: String
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, StorageClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn put_object<'life0, 'async_trait>(
        &'life0 self,
        key: String,
        body: String
    ) -> Pin<Box<dyn Future<Output = Result<(), StorageClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_object<'life0, 'async_trait>(
        &'life0 self,
        key: String
    ) -> Pin<Box<dyn Future<Output = Result<(), StorageClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn get_object<'life0, 'async_trait>( &'life0 self, key: String ) -> Pin<Box<dyn Future<Output = Result<Option<String>, StorageClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn put_object<'life0, 'async_trait>( &'life0 self, key: String, body: String ) -> Pin<Box<dyn Future<Output = Result<(), StorageClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_object<'life0, 'async_trait>( &'life0 self, key: String ) -> Pin<Box<dyn Future<Output = Result<(), StorageClientError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§