[][src]Struct kayrx::service::and_then_apply_fn::AndThenApplyFnFactoryResponse

pub struct AndThenApplyFnFactoryResponse<A, B, F, Fut, Res, Err> where
    A: ServiceFactory,
    B: ServiceFactory<Config = A::Config, InitError = A::InitError>,
    F: FnMut(A::Response, &mut B::Service) -> Fut + Clone,
    Fut: Future<Output = Result<Res, Err>>,
    Err: From<A::Error>,
    Err: From<B::Error>, 
{ /* fields omitted */ }

Trait Implementations

impl<A, B, F, Fut, Res, Err> Future for AndThenApplyFnFactoryResponse<A, B, F, Fut, Res, Err> where
    A: ServiceFactory,
    B: ServiceFactory<Config = A::Config, InitError = A::InitError>,
    F: FnMut(A::Response, &mut B::Service) -> Fut + Clone,
    Fut: Future<Output = Result<Res, Err>>,
    Err: From<A::Error> + From<B::Error>, 
[src]

type Output = Result<AndThenApplyFn<A::Service, B::Service, F, Fut, Res, Err>, A::InitError>

The type of value produced on completion.

impl<A, B, F, Fut, Res, Err> PinnedDrop for AndThenApplyFnFactoryResponse<A, B, F, Fut, Res, Err> where
    A: ServiceFactory,
    B: ServiceFactory<Config = A::Config, InitError = A::InitError>,
    F: FnMut(A::Response, &mut B::Service) -> Fut + Clone,
    Fut: Future<Output = Result<Res, Err>>,
    Err: From<A::Error>,
    Err: From<B::Error>, 
[src]

impl<'pin, A, B, F, Fut, Res, Err> Unpin for AndThenApplyFnFactoryResponse<A, B, F, Fut, Res, Err> where
    A: ServiceFactory,
    B: ServiceFactory<Config = A::Config, InitError = A::InitError>,
    F: FnMut(A::Response, &mut B::Service) -> Fut + Clone,
    Fut: Future<Output = Result<Res, Err>>,
    Err: From<A::Error>,
    Err: From<B::Error>,
    __AndThenApplyFnFactoryResponse<'pin, A, B, F, Fut, Res, Err>: Unpin
[src]

Auto Trait Implementations

impl<A, B, F, Fut, Res, Err> RefUnwindSafe for AndThenApplyFnFactoryResponse<A, B, F, Fut, Res, Err> where
    F: RefUnwindSafe,
    <A as ServiceFactory>::Future: RefUnwindSafe,
    <B as ServiceFactory>::Future: RefUnwindSafe,
    <A as ServiceFactory>::Service: RefUnwindSafe,
    <B as ServiceFactory>::Service: RefUnwindSafe

impl<A, B, F, Fut, Res, Err> Send for AndThenApplyFnFactoryResponse<A, B, F, Fut, Res, Err> where
    F: Send,
    <A as ServiceFactory>::Future: Send,
    <B as ServiceFactory>::Future: Send,
    <A as ServiceFactory>::Service: Send,
    <B as ServiceFactory>::Service: Send

impl<A, B, F, Fut, Res, Err> Sync for AndThenApplyFnFactoryResponse<A, B, F, Fut, Res, Err> where
    F: Sync,
    <A as ServiceFactory>::Future: Sync,
    <B as ServiceFactory>::Future: Sync,
    <A as ServiceFactory>::Service: Sync,
    <B as ServiceFactory>::Service: Sync

impl<A, B, F, Fut, Res, Err> UnwindSafe for AndThenApplyFnFactoryResponse<A, B, F, Fut, Res, Err> where
    F: UnwindSafe,
    <A as ServiceFactory>::Future: UnwindSafe,
    <B as ServiceFactory>::Future: UnwindSafe,
    <A as ServiceFactory>::Service: UnwindSafe,
    <B as ServiceFactory>::Service: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,