Struct actix_utils::inflight::InFlight [−][src]
pub struct InFlight { /* fields omitted */ }
Expand description
InFlight - new service for service that can limit number of in-flight async requests.
Default number of in-flight requests is 15
Implementations
Trait Implementations
type InitError = Infallible
type InitError = Infallible
Errors produced while building a transform service.
type Transform = InFlightService<S>
type Transform = InFlightService<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