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]
impl<A, F, E> MapInitErr<A, F, E> where
A: NewService,
F: Fn(A::InitError) -> E,
Trait Implementations
impl<A, F, E> Clone for MapInitErr<A, F, E> where
A: NewService + Clone,
F: Fn(A::InitError) -> E + Clone,
[src]
impl<A, F, E> Clone for MapInitErr<A, F, E> where
A: NewService + Clone,
F: Fn(A::InitError) -> E + Clone,
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns 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, F, E> NewService for MapInitErr<A, F, E> where
A: NewService,
F: Fn(A::InitError) -> E + Clone,
[src]
impl<A, F, E> NewService for MapInitErr<A, F, E> where
A: NewService,
F: Fn(A::InitError) -> E + Clone,
type Request = A::Request
Requests handled by the service
type Response = A::Response
Responses given by the service
type Error = A::Error
Errors produced by the service
type Service = A::Service
The Service
value created by this factory
type InitError = E
Errors produced while building a service.
type Future = MapInitErrFuture<A, F, E>
The future of the Service
instance.
fn new_service(&self) -> Self::Future
[src]
fn new_service(&self) -> Self::Future
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> 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,
impl<A, F, E> Sync for MapInitErr<A, F, E> where
A: Sync,
E: Sync,
F: Sync,