Trait opendal::raw::oio::List

source ·
pub trait List: Unpin + Send + Sync {
    // Required method
    fn next(
        &mut self
    ) -> impl Future<Output = Result<Option<Entry>>> + MaybeSend;
}
Expand description

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

Required Methods§

source

fn next(&mut self) -> impl Future<Output = Result<Option<Entry>>> + MaybeSend

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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl List for ()

source§

async fn next(&mut self) -> Result<Option<Entry>>

source§

impl<P: List> List for Option<P>

source§

async fn next(&mut self) -> Result<Option<Entry>>

source§

impl<T: ListDyn + ?Sized> List for Box<T>

source§

async fn next(&mut self) -> Result<Option<Entry>>

Implementors§

source§

impl<A, L> List for FlatLister<A, L>
where A: Access<Lister = L>, L: List,

source§

impl<L> List for PageLister<L>
where L: PageList,

source§

impl<L> List for PrefixLister<L>
where L: List,

source§

impl<ONE, TWO, THREE, FOUR> List for FourWays<ONE, TWO, THREE, FOUR>
where ONE: List, TWO: List, THREE: List, FOUR: List,

source§

impl<P: List> List for HierarchyLister<P>