pub struct ActiveSlot<'a> { /* private fields */ }Expand description
RAII guard for an acquired backpressure slot. When dropped, the slot is automatically released.
Trait Implementations§
Source§impl<'a> Debug for ActiveSlot<'a>
impl<'a> Debug for ActiveSlot<'a>
Source§impl<'a> Drop for ActiveSlot<'a>
impl<'a> Drop for ActiveSlot<'a>
Auto Trait Implementations§
impl<'a> Freeze for ActiveSlot<'a>
impl<'a> RefUnwindSafe for ActiveSlot<'a>
impl<'a> Send for ActiveSlot<'a>
impl<'a> Sync for ActiveSlot<'a>
impl<'a> Unpin for ActiveSlot<'a>
impl<'a> UnsafeUnpin for ActiveSlot<'a>
impl<'a> UnwindSafe for ActiveSlot<'a>
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