Struct actix_net::service::FromErrNewService[][src]

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

NewService for the from_err combinator, changing the type of a new service's error.

This is created by the NewServiceExt::from_err method.

Methods

impl<A, E> FromErrNewService<A, E> where
    A: NewService,
    E: From<A::Error>, 
[src]

Create new FromErr new service instance

Trait Implementations

impl<A, E> Clone for FromErrNewService<A, E> where
    A: NewService + Clone,
    E: From<A::Error>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A, E> NewService for FromErrNewService<A, E> where
    A: NewService,
    E: From<A::Error>, 
[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, E> Send for FromErrNewService<A, E> where
    A: Send,
    E: Send

impl<A, E> Sync for FromErrNewService<A, E> where
    A: Sync,
    E: Sync