pub struct SlotGuard { /* private fields */ }Expand description
A held in-flight slot: while it lives, one of the max_inflight slots is
occupied and the in-flight gauge counts it. Dropping it (handler returned,
panicked, or timed out) frees the slot — RAII, so no path can leak one.
Auto Trait Implementations§
impl Freeze for SlotGuard
impl !RefUnwindSafe for SlotGuard
impl Send for SlotGuard
impl Sync for SlotGuard
impl Unpin for SlotGuard
impl UnsafeUnpin for SlotGuard
impl !UnwindSafe for SlotGuard
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