pub trait AvltrieeHolder<T, I>: Send + Sync + AsRef<Avltriee<T>> + AsMut<Avltriee<T>> {
    // Required methods
    fn cmp(&self, left: &T, right: &I) -> Ordering;
    fn search_end(&self, input: &I) -> Found;
    fn value(&mut self, input: I) -> T;
    fn delete_before_update<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        row: NonZeroU32,
        delete_node: &'life1 T
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             Self: 'async_trait;
}

Required Methods§

fn cmp(&self, left: &T, right: &I) -> Ordering

fn search_end(&self, input: &I) -> Found

fn value(&mut self, input: I) -> T

fn delete_before_update<'life0, 'life1, 'async_trait>( &'life0 mut self, row: NonZeroU32, delete_node: &'life1 T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Implementors§

§

impl<T> AvltrieeHolder<T, T> for Avltriee<T>
where T: Send + Sync + Ord,

source§

impl<T: DataAddressHolder<T> + Send + Sync> AvltrieeHolder<T, &[u8]> for IdxBinary<T>