Struct async_lock::SemaphoreGuard
source · [−]pub struct SemaphoreGuard<'a>(_);
Expand description
A guard that releases the acquired permit.
Trait Implementations
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more