Struct async_lock::MutexGuardArc
source · pub struct MutexGuardArc<T: ?Sized>(/* private fields */);
Expand description
An owned guard that releases the mutex when dropped.
Implementations§
source§impl<T: ?Sized> MutexGuardArc<T>
impl<T: ?Sized> MutexGuardArc<T>
Trait Implementations§
source§impl<T: ?Sized> Deref for MutexGuardArc<T>
impl<T: ?Sized> Deref for MutexGuardArc<T>
source§impl<T: ?Sized> DerefMut for MutexGuardArc<T>
impl<T: ?Sized> DerefMut for MutexGuardArc<T>
source§impl<T: ?Sized> Drop for MutexGuardArc<T>
impl<T: ?Sized> Drop for MutexGuardArc<T>
impl<T: Send + ?Sized> Send for MutexGuardArc<T>
impl<T: Sync + ?Sized> Sync for MutexGuardArc<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for MutexGuardArc<T>
impl<T: ?Sized> Unpin for MutexGuardArc<T>
impl<T> !UnwindSafe for MutexGuardArc<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