List

Trait List 

Source
pub trait List:
    Unpin
    + Send
    + Sync {
    // Required method
    fn next(
        &mut self,
    ) -> impl Future<Output = Result<Option<Entry>, Error>> + 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>, Error>> + 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl List for ()

Source§

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

Source§

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

Source§

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

§

impl<R, I> List for MetricsWrapper<R, I>
where R: List, I: MetricsIntercept,

§

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

Source§

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

Source§

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

Implementors§

§

impl List for ImmutableDir

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> List for TwoWays<ONE, TWO>
where ONE: List, TWO: List,

Source§

impl<ONE, TWO, THREE> List for ThreeWays<ONE, TWO, THREE>
where ONE: List, TWO: List, THREE: 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 for HierarchyLister<P>
where P: List,

§

impl<P, I> List for LoggingLister<P, I>
where P: List, I: LoggingInterceptor,

§

impl<P, I> List for RetryWrapper<P, I>
where P: List, I: RetryInterceptor,

§

impl<R> List for AsyncBacktraceWrapper<R>
where R: List,

§

impl<R> List for AwaitTreeWrapper<R>
where R: List,

§

impl<R> List for FastraceWrapper<R>
where R: List,

§

impl<R> List for OtelTraceWrapper<R>
where R: List,

§

impl<R> List for TailCutWrapper<R>
where R: List,

§

impl<R> List for TimeoutWrapper<R>
where R: List,

§

impl<R> List for TracingWrapper<R>
where R: List,