[−][src]Struct kayrx::service::dev::ThenService
Service for the then
combinator, chaining a computation onto the end of
another service.
This is created by the ServiceExt::then
method.
Trait Implementations
impl<A, B> Clone for ThenService<A, B> where
A: Clone,
[src]
A: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A, B> Service for ThenService<A, B> where
A: Service,
B: Service<Request = Result<A::Response, A::Error>, Error = A::Error>,
[src]
A: Service,
B: Service<Request = Result<A::Response, A::Error>, Error = A::Error>,
type Request = A::Request
Requests handled by the service.
type Response = B::Response
Responses given by the service.
type Error = B::Error
Errors produced by the service.
type Future = ThenServiceResponse<A, B>
The future response value.
fn poll_ready(&mut self, ctx: &mut Context) -> Poll<Result<(), Self::Error>>
[src]
fn call(&mut self, req: A::Request) -> Self::Future
[src]
fn map<F, R>(self, f: F) -> Map<Self, F, R> where
Self: Sized,
F: FnMut(Self::Response) -> R,
[src]
Self: Sized,
F: FnMut(Self::Response) -> R,
fn map_err<F, E>(self, f: F) -> MapErr<Self, F, E> where
Self: Sized,
F: Fn(Self::Error) -> E,
[src]
Self: Sized,
F: Fn(Self::Error) -> E,
Auto Trait Implementations
impl<A, B> !RefUnwindSafe for ThenService<A, B>
impl<A, B> !Send for ThenService<A, B>
impl<A, B> !Sync for ThenService<A, B>
impl<A, B> Unpin for ThenService<A, B> where
A: Unpin,
A: Unpin,
impl<A, B> !UnwindSafe for ThenService<A, B>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoService<T> for T where
T: Service,
[src]
T: Service,
fn into_service(Self) -> T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,