Struct async_lock::SemaphoreGuard
source · pub struct SemaphoreGuard<'a>(_);
Expand description
A guard that releases the acquired permit.
Trait Implementations§
source§impl<'a> Debug for SemaphoreGuard<'a>
impl<'a> Debug for SemaphoreGuard<'a>
Auto Trait Implementations§
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