pub struct GateGuard { /* private fields */ }Expand description
Held gate state. The caller keeps this alive across its dispatch call and
calls GateGuard::release (or drops it) when the dispatch result exists,
so the next waiter’s count includes the newcomer.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GateGuard
impl RefUnwindSafe for GateGuard
impl Send for GateGuard
impl Sync for GateGuard
impl Unpin for GateGuard
impl UnsafeUnpin for GateGuard
impl UnwindSafe for GateGuard
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