Struct ntex_service::dev::AndThen [−][src]
pub struct AndThen<A, B, Req>(_, _);
Expand description
Service for the and_then
combinator, chaining a computation onto the end
of another service which completes successfully.
This is created by the ServiceExt::and_then
method.
Trait Implementations
type Future = AndThenServiceResponse<A, B, Req>
type Future = AndThenServiceResponse<A, B, Req>
The future response value.
Returns Ready
when the service is able to process requests. Read more
Shutdown service. 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, B, Req> RefUnwindSafe for AndThen<A, B, Req> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B, Req> UnwindSafe for AndThen<A, B, Req> where
A: RefUnwindSafe,
B: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service