pub trait Iteratee {
// Required methods
fn new_iterator<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn new_iterator_with_start<'life0, 'life1, 'async_trait>(
&'life0 self,
start: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn new_iterator_with_prefix<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn new_iterator_with_start_and_prefix<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
start: &'life1 [u8],
prefix: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}
Expand description
Required Methods§
sourcefn new_iterator<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_iterator<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Creates an iterator over the entire keyspace contained within the key-value database.
sourcefn new_iterator_with_start<'life0, 'life1, 'async_trait>(
&'life0 self,
start: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn new_iterator_with_start<'life0, 'life1, 'async_trait>( &'life0 self, start: &'life1 [u8] ) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Creates an iterator over a subset of database content starting at a particular initial key.
sourcefn new_iterator_with_prefix<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn new_iterator_with_prefix<'life0, 'life1, 'async_trait>( &'life0 self, prefix: &'life1 [u8] ) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Creates an iterator over a subset of database content with a particular key prefix.
sourcefn new_iterator_with_start_and_prefix<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
start: &'life1 [u8],
prefix: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn new_iterator_with_start_and_prefix<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, start: &'life1 [u8], prefix: &'life2 [u8] ) -> Pin<Box<dyn Future<Output = Result<BoxedIterator>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
Creates an iterator over a subset of database content with a particular key prefix starting at a specified key.