Struct futures::lock::OwnedMutexGuard
source · [−]pub struct OwnedMutexGuard<T> where
T: ?Sized, { /* private fields */ }
Expand description
An RAII guard returned by the lock_owned
and try_lock_owned
methods.
When this structure is dropped (falls out of scope), the lock will be
unlocked.
Trait Implementations
sourceimpl<T> Debug for OwnedMutexGuard<T> where
T: Debug + ?Sized,
impl<T> Debug for OwnedMutexGuard<T> where
T: Debug + ?Sized,
sourceimpl<T> Deref for OwnedMutexGuard<T> where
T: ?Sized,
impl<T> Deref for OwnedMutexGuard<T> where
T: ?Sized,
sourceimpl<T> DerefMut for OwnedMutexGuard<T> where
T: ?Sized,
impl<T> DerefMut for OwnedMutexGuard<T> where
T: ?Sized,
sourceimpl<T> Drop for OwnedMutexGuard<T> where
T: ?Sized,
impl<T> Drop for OwnedMutexGuard<T> where
T: ?Sized,
impl<T> Send for OwnedMutexGuard<T> where
T: Send + ?Sized,
impl<T> Sync for OwnedMutexGuard<T> where
T: Sync + ?Sized,
Auto Trait Implementations
impl<T> !RefUnwindSafe for OwnedMutexGuard<T>
impl<T: ?Sized> Unpin for OwnedMutexGuard<T>
impl<T> !UnwindSafe for OwnedMutexGuard<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