[][src]Trait moiradb::types::Command

pub trait Command<K, V> where
    K: Debug,
    V: Debug,
    Self: Debug
{ #[must_use] pub fn execute<'life0, 'life1, 'async_trait>(
        &'life0 self,
        db: &'life1 mut MoiraDb<K, V, Self>
    ) -> Pin<Box<dyn Future<Output = TransactionResult> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; pub fn merge_operator(
        _key: &K,
        _prev_value: DBValue<V>,
        _updates: Vec<DBValue<V>>
    ) -> DBValue<V> { ... } }

Required methods

#[must_use]pub fn execute<'life0, 'life1, 'async_trait>(
    &'life0 self,
    db: &'life1 mut MoiraDb<K, V, Self>
) -> Pin<Box<dyn Future<Output = TransactionResult> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Provided methods

pub fn merge_operator(
    _key: &K,
    _prev_value: DBValue<V>,
    _updates: Vec<DBValue<V>>
) -> DBValue<V>
[src]

Loading content...

Implementors

Loading content...