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

Required Methods§

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

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

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

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

Implementors§

source§

impl AvltrieeHolder<DataAddress, &[u8], IdxFileAllocator<DataAddress>> for IdxBinary

§

impl<T, A> AvltrieeHolder<T, T, A> for Avltriee<T, A>
where T: Ord, A: AvltrieeAllocator<T>,