pub struct InflightGuard(/* private fields */);Expand description
One request in flight on a backend, for as long as this is kept: the count goes up when it is made and down when it is dropped, whichever way the request ends.
Implementations§
Trait Implementations§
Source§impl Drop for InflightGuard
impl Drop for InflightGuard
Auto Trait Implementations§
impl Freeze for InflightGuard
impl RefUnwindSafe for InflightGuard
impl Send for InflightGuard
impl Sync for InflightGuard
impl Unpin for InflightGuard
impl UnsafeUnpin for InflightGuard
impl UnwindSafe for InflightGuard
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