[−][src]Struct kayrx::service::dev::TransformMapInitErr
Transform for the map_init_err
combinator, changing the type of a new
transform's init error.
This is created by the Transform::map_init_err
method.
Trait Implementations
impl<T, S, F, E> Clone for TransformMapInitErr<T, S, F, E> where
T: Clone,
F: Clone,
[src]
T: Clone,
F: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T, S, F, E> Transform<S> for TransformMapInitErr<T, S, F, E> where
T: Transform<S>,
F: Fn(T::InitError) -> E + Clone,
[src]
T: Transform<S>,
F: Fn(T::InitError) -> E + Clone,
type Request = T::Request
Requests handled by the service.
type Response = T::Response
Responses given by the service.
type Error = T::Error
Errors produced by the service.
type Transform = T::Transform
The TransformService
value created by this factory
type InitError = E
Errors produced while building a transform service.
type Future = TransformMapInitErrFuture<T, S, F, E>
The future response value.
fn new_transform(&self, service: S) -> Self::Future
[src]
fn map_init_err<F, E>(self, f: F) -> TransformMapInitErr<Self, S, F, E> where
Self: Sized,
F: Fn(Self::InitError) -> E + Clone,
[src]
Self: Sized,
F: Fn(Self::InitError) -> E + Clone,
Auto Trait Implementations
impl<T, S, F, E> RefUnwindSafe for TransformMapInitErr<T, S, F, E> where
E: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S, F, E> Send for TransformMapInitErr<T, S, F, E> where
E: Send,
F: Send,
S: Send,
T: Send,
E: Send,
F: Send,
S: Send,
T: Send,
impl<T, S, F, E> Sync for TransformMapInitErr<T, S, F, E> where
E: Sync,
F: Sync,
S: Sync,
T: Sync,
E: Sync,
F: Sync,
S: Sync,
T: Sync,
impl<T, S, F, E> Unpin for TransformMapInitErr<T, S, F, E> where
E: Unpin,
F: Unpin,
S: Unpin,
T: Unpin,
E: Unpin,
F: Unpin,
S: Unpin,
T: Unpin,
impl<T, S, F, E> UnwindSafe for TransformMapInitErr<T, S, F, E> where
E: UnwindSafe,
F: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
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,
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<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,