[][src]Struct scrappy_service::dev::TransformMapInitErr

pub struct TransformMapInitErr<T, S, F, E> { /* fields omitted */ }

Transform for the map_init_err combinator, changing the type of a new transform's init error.

This is created by the Transform::map_init_err method.

Trait Implementations

impl<T, S, F, E> Clone for TransformMapInitErr<T, S, F, E> where
    T: Clone,
    F: Clone
[src]

impl<T, S, F, E> Transform<S> for TransformMapInitErr<T, S, F, E> where
    T: Transform<S>,
    F: Fn(T::InitError) -> E + Clone
[src]

type Request = T::Request

Requests handled by the service.

type Response = T::Response

Responses given by the service.

type Error = T::Error

Errors produced by the service.

type Transform = T::Transform

The TransformService value created by this factory

type InitError = E

Errors produced while building a transform service.

type Future = TransformMapInitErrFuture<T, S, F, E>

The future response value.

Auto Trait Implementations

impl<T, S, F, E> RefUnwindSafe for TransformMapInitErr<T, S, F, E> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, S, F, E> Send for TransformMapInitErr<T, S, F, E> where
    E: Send,
    F: Send,
    S: Send,
    T: Send

impl<T, S, F, E> Sync for TransformMapInitErr<T, S, F, E> where
    E: Sync,
    F: Sync,
    S: Sync,
    T: Sync

impl<T, S, F, E> Unpin for TransformMapInitErr<T, S, F, E> where
    E: Unpin,
    F: Unpin,
    S: Unpin,
    T: Unpin

impl<T, S, F, E> UnwindSafe for TransformMapInitErr<T, S, F, E> where
    E: UnwindSafe,
    F: UnwindSafe,
    S: UnwindSafe,
    T: 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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<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.