[−][src]Struct actix_service::dev::AndThenApplyFn
Apply
service combinator
Trait Implementations
impl<A, B, F, Fut, Res, Err> Service for AndThenApplyFn<A, B, F, Fut, Res, Err> where
A: Service,
B: Service,
F: FnMut(A::Response, &mut B) -> Fut,
Fut: Future<Output = Result<Res, Err>>,
Err: From<A::Error> + From<B::Error>,
[src]
A: Service,
B: Service,
F: FnMut(A::Response, &mut B) -> Fut,
Fut: Future<Output = Result<Res, Err>>,
Err: From<A::Error> + From<B::Error>,
type Request = A::Request
Requests handled by the service.
type Response = Res
Responses given by the service.
type Error = Err
Errors produced by the service.
type Future = AndThenApplyFnFuture<A, B, F, Fut, Res, Err>
The future response value.
fn poll_ready(&mut self, cx: &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,
impl<A, B, F, Fut, Res, Err> Clone for AndThenApplyFn<A, B, F, Fut, Res, Err> where
A: Service + Clone,
B: Service,
F: FnMut(A::Response, &mut B) -> Fut,
Fut: Future<Output = Result<Res, Err>>,
Err: From<A::Error> + From<B::Error>,
[src]
A: Service + Clone,
B: Service,
F: FnMut(A::Response, &mut B) -> Fut,
Fut: Future<Output = Result<Res, Err>>,
Err: From<A::Error> + From<B::Error>,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<A, B, F, Fut, Res, Err> !Send for AndThenApplyFn<A, B, F, Fut, Res, Err>
impl<A, B, F, Fut, Res, Err> !Sync for AndThenApplyFn<A, B, F, Fut, Res, Err>
impl<A, B, F, Fut, Res, Err> Unpin for AndThenApplyFn<A, B, F, Fut, Res, Err> where
A: Unpin,
Err: Unpin,
Fut: Unpin,
Res: Unpin,
A: Unpin,
Err: Unpin,
Fut: Unpin,
Res: Unpin,
impl<A, B, F, Fut, Res, Err> !UnwindSafe for AndThenApplyFn<A, B, F, Fut, Res, Err>
impl<A, B, F, Fut, Res, Err> !RefUnwindSafe for AndThenApplyFn<A, B, F, Fut, Res, Err>
Blanket Implementations
impl<T> IntoService<T> for T where
T: Service,
[src]
T: Service,
fn into_service(Self) -> 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> 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 = !
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,