Trait ServiceExt

Source
pub trait ServiceExt<R, T>: Service<R> {
    // Provided method
    fn paginate(self, request: R) -> PaginationStream<Self, T, R>
       where T: Clone,
             R: Request<Response = <Self as Service<R>>::Response> + PaginatedRequest<PaginationData = T>,
             Self: Sized { ... }
}

Provided Methods§

Source

fn paginate(self, request: R) -> PaginationStream<Self, T, R>
where T: Clone, R: Request<Response = <Self as Service<R>>::Response> + PaginatedRequest<PaginationData = T>, Self: Sized,

Implementors§

Source§

impl<P, T, Request> ServiceExt<Request, P> for T
where T: ?Sized + Service<Request>, Request: PaginatedRequest<PaginationData = P>,