pub struct SemaphoreGuard<'a>(/* private fields */);
Expand description
A guard that releases the acquired permit.
Implementations§
source§impl SemaphoreGuard<'_>
impl SemaphoreGuard<'_>
Trait Implementations§
source§impl<'a> Debug for SemaphoreGuard<'a>
impl<'a> Debug for SemaphoreGuard<'a>
Auto Trait Implementations§
impl<'a> Freeze for SemaphoreGuard<'a>
impl<'a> RefUnwindSafe for SemaphoreGuard<'a>
impl<'a> Send for SemaphoreGuard<'a>
impl<'a> Sync for SemaphoreGuard<'a>
impl<'a> Unpin for SemaphoreGuard<'a>
impl<'a> UnwindSafe for SemaphoreGuard<'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