Trait ServiceExt
Source pub trait ServiceExt<Req>: Service<Req> {
// Provided methods
fn with<T>(self, wrap: T) -> <T as Wrap<Self>>::Service
where Self: Sized,
T: Wrap<Self> { ... }
fn and_then<F>(self, f: F) -> AndThen<Self, F>
where Self: Sized { ... }
fn then<F>(self, f: F) -> Then<Self, F>
where Self: Sized { ... }
fn map_err<F>(self, f: F) -> MapErr<Self, F>
where Self: Sized { ... }
fn map_future<F>(self, f: F) -> MapFuture<Self, F>
where Self: Sized { ... }
fn map_request<F>(self, f: F) -> MapRequest<Self, F>
where Self: Sized { ... }
fn map_response<F>(self, f: F) -> MapResponse<Self, F>
where Self: Sized { ... }
fn map_result<F>(self, f: F) -> MapResult<Self, F>
where Self: Sized { ... }
fn boxed(self) -> BoxService<Req, Self::Response, Self::Error>
where Self: Sized + 'static,
Self::Future: 'static { ... }
fn boxed_clone(self) -> BoxCloneService<Req, Self::Response, Self::Error>
where Self: Sized + Clone + 'static,
Self::Future: 'static { ... }
fn rc_boxed(self) -> RcService<Req, Self::Response, Self::Error>
where Self: Sized + 'static,
Self::Future: 'static { ... }
}