Struct actix_service::dev::MapErr [−][src]
pub struct MapErr<A, F, E> { /* fields omitted */ }
Expand description
Service for the map_err
combinator, changing the type of a service’s
error.
This is created by the ServiceExt::map_err
method.
Trait Implementations
type Error = E
type Error = E
Errors produced by the service.
type Future = MapErrFuture<A, F, E>
type Future = MapErrFuture<A, F, E>
The future response value.
Returns Ready
when the service is able to process requests. Read more
Process the request and return the response asynchronously. Read more
Map this service’s output to a different type, returning a new service of the resulting type. Read more
Auto Trait Implementations
impl<A, F, E> RefUnwindSafe for MapErr<A, F, E> where
A: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
impl<A, F, E> UnwindSafe for MapErr<A, F, E> where
A: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service