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> Freeze for MutexGuardArc<T>where
T: ?Sized,
impl<T> !RefUnwindSafe for MutexGuardArc<T>
impl<T> Unpin for MutexGuardArc<T>where
T: ?Sized,
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