pub trait PersistenceStorageRemove<K>: PersistenceStorageOperation {
    // Required method
    fn remove<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 K
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Persistence Storage remove functions

Required Methods§

source

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

Remove an entry by key.

Implementors§

source§

impl<K, I> PersistenceStorageRemove<K> for Iwhere K: ToString + Sync, I: PersistenceStorageOperation + Sync + KvStorageBasic,