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]
impl<A, E> FromErrNewService<A, E> where
A: NewService,
E: From<A::Error>, Trait Implementations
impl<A, E> Clone for FromErrNewService<A, E> where
A: NewService + Clone,
E: From<A::Error>, [src]
impl<A, E> Clone for FromErrNewService<A, E> where
A: NewService + Clone,
E: From<A::Error>, fn clone(&self) -> Self[src]
fn clone(&self) -> SelfReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<A, E> NewService for FromErrNewService<A, E> where
A: NewService,
E: From<A::Error>, [src]
impl<A, E> NewService for FromErrNewService<A, E> where
A: NewService,
E: From<A::Error>, type Request = A::Request
Requests handled by the service
type Response = A::Response
Responses given by the service
type Error = E
Errors produced by the service
type Service = FromErr<A::Service, E>
The Service value created by this factory
type InitError = A::InitError
Errors produced while building a service.
type Future = FromErrNewServiceFuture<A, E>
The future of the Service instance.
fn new_service(&self) -> Self::Future[src]
fn new_service(&self) -> Self::FutureCreate 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> Send for FromErrNewService<A, E> where
A: Send,
E: Send, impl<A, E> Sync for FromErrNewService<A, E> where
A: Sync,
E: Sync,
impl<A, E> Sync for FromErrNewService<A, E> where
A: Sync,
E: Sync,