Struct actix_service::dev::MapInitErr [−][src]
MapInitErr
service combinator
Trait Implementations
impl<A, F, Req, E> Clone for MapInitErr<A, F, Req, E> where
A: Clone,
F: Clone,
[src]
A: Clone,
F: Clone,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A, F, Req, E> ServiceFactory<Req> for MapInitErr<A, F, Req, E> where
A: ServiceFactory<Req>,
F: Fn(A::InitError) -> E + Clone,
[src]
A: ServiceFactory<Req>,
F: Fn(A::InitError) -> E + Clone,
type Response = A::Response
Responses given by the created services.
type Error = A::Error
Errors produced by the created services.
type Config = A::Config
Service factory configuration.
type Service = A::Service
The kind of Service
created by this factory.
type InitError = E
Errors potentially raised while building a service.
type Future = MapInitErrFuture<A, F, Req, E>
The future of the Service
instance.
fn new_service(&self, cfg: A::Config) -> Self::Future
[src]
Auto Trait Implementations
impl<A, F, Req, Err> Send for MapInitErr<A, F, Req, Err> where
A: Send,
Err: Send,
F: Send,
Req: Send,
[src]
A: Send,
Err: Send,
F: Send,
Req: Send,
impl<A, F, Req, Err> Sync for MapInitErr<A, F, Req, Err> where
A: Sync,
Err: Sync,
F: Sync,
Req: Sync,
[src]
A: Sync,
Err: Sync,
F: Sync,
Req: Sync,
impl<A, F, Req, Err> Unpin for MapInitErr<A, F, Req, Err> where
A: Unpin,
Err: Unpin,
F: Unpin,
Req: Unpin,
[src]
A: Unpin,
Err: Unpin,
F: Unpin,
Req: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<SF, Req> IntoServiceFactory<SF, Req> for SF where
SF: ServiceFactory<Req>,
[src]
SF: ServiceFactory<Req>,
pub fn into_factory(Self) -> SF
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,