pub struct InFlight { /* private fields */ }Expand description
InFlight - service factory for service that can limit number of in-flight async requests.
Default number of in-flight requests is 15
Implementations
Trait Implementations
sourceimpl<S> Transform<S> for InFlight
impl<S> Transform<S> for InFlight
type Service = InFlightService<S>
type Service = InFlightService<S>
The TransformService value created by this factory
sourcefn new_transform(&self, service: S) -> Self::Service
fn new_transform(&self, service: S) -> Self::Service
Creates and returns a new Transform component, asynchronously
Auto Trait Implementations
impl RefUnwindSafe for InFlight
impl Send for InFlight
impl Sync for InFlight
impl Unpin for InFlight
impl UnwindSafe for InFlight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more