Struct async_lock::MutexGuardArc
source · [−]pub struct MutexGuardArc<T: ?Sized>(_);
Expand description
An owned guard that releases the mutex when dropped.
Implementations
sourceimpl<T: ?Sized> MutexGuardArc<T>
impl<T: ?Sized> MutexGuardArc<T>
Trait Implementations
sourceimpl<T: Debug + ?Sized> Debug for MutexGuardArc<T>
impl<T: Debug + ?Sized> Debug for MutexGuardArc<T>
sourceimpl<T: ?Sized> Deref for MutexGuardArc<T>
impl<T: ?Sized> Deref for MutexGuardArc<T>
sourceimpl<T: ?Sized> DerefMut for MutexGuardArc<T>
impl<T: ?Sized> DerefMut for MutexGuardArc<T>
sourceimpl<T: Display + ?Sized> Display for MutexGuardArc<T>
impl<T: Display + ?Sized> Display for MutexGuardArc<T>
sourceimpl<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
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