pub struct AsyncMutexGuard<'a, T: 'a> { /* private fields */ }Trait Implementations§
Source§impl<'a, T> Deref for AsyncMutexGuard<'a, T>
impl<'a, T> Deref for AsyncMutexGuard<'a, T>
Source§impl<'a, T> DerefMut for AsyncMutexGuard<'a, T>
impl<'a, T> DerefMut for AsyncMutexGuard<'a, T>
Source§impl<T> Drop for AsyncMutexGuard<'_, T>
If an AsyncMutexGuard get’s dropped we need to wake the Futures that might hav registered themself and
are waiting to aquire the lock.
impl<T> Drop for AsyncMutexGuard<'_, T>
If an AsyncMutexGuard get’s dropped we need to wake the Futures that might hav registered themself and
are waiting to aquire the lock.
Auto Trait Implementations§
impl<'a, T> Freeze for AsyncMutexGuard<'a, T>
impl<'a, T> !RefUnwindSafe for AsyncMutexGuard<'a, T>
impl<'a, T> Send for AsyncMutexGuard<'a, T>where
T: Send,
impl<'a, T> Sync for AsyncMutexGuard<'a, T>where
T: Send,
impl<'a, T> Unpin for AsyncMutexGuard<'a, T>
impl<'a, T> !UnwindSafe for AsyncMutexGuard<'a, T>
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