sylvia_iot_data::models::application_uldata

Trait Cursor

Source
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§