Struct actix_service::dev::Map [−][src]
pub struct Map<A, F, Response> { /* fields omitted */ }
Expand description
Service for the map
combinator, changing the type of a service’s response.
This is created by the ServiceExt::map
method.
Trait Implementations
type Response = Response
type Response = Response
Responses given by the service.
type Future = MapFuture<A, F, Response>
type Future = MapFuture<A, F, Response>
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, Response> RefUnwindSafe for Map<A, F, Response> where
A: RefUnwindSafe,
F: RefUnwindSafe,
Response: RefUnwindSafe,
impl<A, F, Response> UnwindSafe for Map<A, F, Response> where
A: UnwindSafe,
F: UnwindSafe,
Response: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service