Trait opendal::raw::oio::Page

source ·
pub trait Page: Send + Sync + 'static {
    fn next<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<Option<Vec<Entry>>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

Page trait is used by crate::raw::Accessor to implement list or scan operation.

Required Methods§

Fetch a new page of Entry

Ok(None) means all pages have been returned. Any following call to next will always get the same result.

Implementations on Foreign Types§

Implementors§