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§
source§impl<S> Middleware<S> for InFlight
impl<S> Middleware<S> for InFlight
§type Service = InFlightService<S>
type Service = InFlightService<S>
The middleware
Service
value created by this factoryimpl Copy for InFlight
Auto Trait Implementations§
impl Freeze for InFlight
impl RefUnwindSafe for InFlight
impl Send for InFlight
impl Sync for InFlight
impl Unpin for InFlight
impl UnwindSafe for InFlight
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more