[][src]Struct scrappy_service::dev::ApplyTransform

pub struct ApplyTransform<T, S>(_);

Apply transform to new service

Trait Implementations

impl<T, S> Clone for ApplyTransform<T, S>[src]

impl<T, S> ServiceFactory for ApplyTransform<T, S> where
    S: ServiceFactory,
    T: Transform<S::Service, InitError = S::InitError>, 
[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 Config = S::Config

Service factory configuration

type Service = T::Transform

The Service value created by this factory

type InitError = T::InitError

Errors produced while building a service.

type Future = ApplyTransformFuture<T, S>

The future of the Service instance.

Auto Trait Implementations

impl<T, S> !RefUnwindSafe for ApplyTransform<T, S>

impl<T, S> !Send for ApplyTransform<T, S>

impl<T, S> !Sync for ApplyTransform<T, S>

impl<T, S> Unpin for ApplyTransform<T, S>

impl<T, S> UnwindSafe for ApplyTransform<T, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe

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> IntoServiceFactory<T> for T where
    T: ServiceFactory
[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.