Struct actix_utils::order::InOrder [−][src]
pub struct InOrder<S> { /* fields omitted */ }
Expand description
InOrder - The service will yield responses as they become available, in the order that their originating requests were submitted to the service.
Implementations
Trait Implementations
type Error = InOrderError<S::Error>
type Error = InOrderError<S::Error>
Errors produced by the service.
type InitError = Infallible
type InitError = Infallible
Errors produced while building a transform service.
type Transform = InOrderService<S>
type Transform = InOrderService<S>
The TransformService
value created by this factory
Creates and returns a new Transform component, asynchronously
fn map_init_err<F, E>(self, f: F) -> TransformMapInitErr<Self, S, F, E> where
F: Fn(Self::InitError) -> E + Clone,
fn map_init_err<F, E>(self, f: F) -> TransformMapInitErr<Self, S, F, E> where
F: Fn(Self::InitError) -> E + Clone,
Map this transforms’s factory error to a different error, returning a new transform service factory. Read more