pub trait Cursor: Send {
    // Required methods
    fn try_next<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<Option<ApplicationUlData>, Box<dyn StdError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn offset(&self) -> u64;
}
Expand description

The operations for cursors.

All functions are private to let programs to pass them as arguments directly without any operation.

Required Methods§

source

fn try_next<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<ApplicationUlData>, Box<dyn StdError>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn offset(&self) -> u64

Implementors§