Struct actix_net::service::MapInitErr[][src]

pub struct MapInitErr<A, F, E> { /* fields omitted */ }

MapInitErr service combinator

Methods

impl<A, F, E> MapInitErr<A, F, E> where
    A: NewService,
    F: Fn(A::InitError) -> E, 
[src]

Create new MapInitErr combinator

Trait Implementations

impl<A, F, E> Clone for MapInitErr<A, F, E> where
    A: NewService + Clone,
    F: Fn(A::InitError) -> E + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A, F, E> NewService for MapInitErr<A, F, E> where
    A: NewService,
    F: Fn(A::InitError) -> E + Clone
[src]

Requests handled by the service

Responses given by the service

Errors produced by the service

The Service value created by this factory

Errors produced while building a service.

The future of the Service instance.

Create and return a new service value asynchronously.

Auto Trait Implementations

impl<A, F, E> Send for MapInitErr<A, F, E> where
    A: Send,
    E: Send,
    F: Send

impl<A, F, E> Sync for MapInitErr<A, F, E> where
    A: Sync,
    E: Sync,
    F: Sync