pub trait BTreeWrite: BTreeInstance {
    fn delete<'life0, 'async_trait>(
        &'life0 self,
        txn_id: TxnId,
        range: Range
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn insert<'life0, 'async_trait>(
        &'life0 self,
        txn_id: TxnId,
        key: Key
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn try_insert_from<'life0, 'async_trait, S>(
        &'life0 self,
        txn_id: TxnId,
        keys: S
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        S: 'async_trait + Stream<Item = TCResult<Key>> + Send + Unpin,
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }
Expand description

BTree write methods.

Required Methods

Delete all the Keys in this BTree.

Insert the given Key into this BTree.

If the Key is already present, this is a no-op.

Provided Methods

Insert all the keys from the given Stream into this BTree.

This will stop and return an error if it encounters an invalid Key.

Implementors