Struct actix_net::service::FromErr[][src]

pub struct FromErr<A, E> where
    A: Service
{ /* fields omitted */ }

Service for the from_err combinator, changing the error type of a service.

This is created by the ServiceExt::from_err method.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A, E> Service for FromErr<A, E> where
    A: Service,
    E: From<A::Error>, 
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

Returns Ready when the service is able to process requests. Read more

Process the request and return the response asynchronously. Read more

A future yielding the service when it is ready to accept a request.

Auto Trait Implementations

impl<A, E> Send for FromErr<A, E> where
    A: Send,
    E: Send

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