Struct actix_net::service::AndThenNewService[][src]

pub struct AndThenNewService<A, B> { /* fields omitted */ }

AndThenNewService new service combinator

Methods

impl<A, B> AndThenNewService<A, B> where
    A: NewService,
    B: NewService
[src]

Create new AndThen combinator

Trait Implementations

impl<A, B> NewService for AndThenNewService<A, B> where
    A: NewService,
    B: NewService<Request = A::Response, Error = A::Error, InitError = A::InitError>, 
[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.

impl<A, B> Clone for AndThenNewService<A, B> where
    A: NewService + Clone,
    B: NewService<Request = A::Response, Error = A::Error, InitError = A::InitError> + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<A, B> Send for AndThenNewService<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for AndThenNewService<A, B> where
    A: Sync,
    B: Sync