[][src]Trait adventure::PagedRequest

pub trait PagedRequest: BaseRequest {
    fn advance(&mut self, response: &Self::Ok) -> bool;

    fn paginate<C>(self, client: C) -> Paginator<C, Self>
    where
        Self: Request<C> + Sized
, { ... } }

A request able to send subsequent requests to enumerate the entire result.

Required methods

fn advance(&mut self, response: &Self::Ok) -> bool

Modify itself to retrive the next response, of return false if the given response was the last one.

Loading content...

Provided methods

fn paginate<C>(self, client: C) -> Paginator<C, Self> where
    Self: Request<C> + Sized

Loading content...

Implementations on Foreign Types

impl<P> PagedRequest for Pin<P> where
    P: DerefMut,
    <P as Deref>::Target: PagedRequest + Unpin
[src]

impl<R> PagedRequest for Box<R> where
    R: PagedRequest
[src]

Loading content...

Implementors

impl<R> PagedRequest for Repeat<R> where
    R: PagedRequest
[src]

impl<R, T, B, F> PagedRequest for Retrying<R, T, B, F> where
    R: PagedRequest
[src]

Loading content...