pub trait IntoExc<R>: Service<R, Response = R::Response>
where Self::Error: Into<ExchangeError>, R: Request,
{ // Provided method fn into_exc( self ) -> Exc<MapErr<Self, fn(_: Self::Error) -> ExchangeError>, R> where Self: Sized { ... } }
Expand description

Service that can be converted into a Exc.

Provided Methods§

source

fn into_exc(self) -> Exc<MapErr<Self, fn(_: Self::Error) -> ExchangeError>, R>
where Self: Sized,

Convert into a Exc.

Implementors§

source§

impl<S, R> IntoExc<R> for S
where S: Service<R, Response = R::Response>, S::Error: Into<ExchangeError>, R: Request,