Struct futures_mutex::FutMutexAcquired
[−]
[src]
pub struct FutMutexAcquired<T> { /* fields omitted */ }
Resolved value of FutMutexAcquire<T>
future
This value works like FutMutexGuard<T>
, providing a RAII guard to the value T
through
Deref
and DerefMut
. Will unlock the lock when dropped; the original FutMutex
can be
recovered with unlock()
.
Methods
impl<T> FutMutexAcquired<T>
[src]
Trait Implementations
impl<T: Debug> Debug for FutMutexAcquired<T>
[src]
impl<T> Deref for FutMutexAcquired<T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value
impl<T> DerefMut for FutMutexAcquired<T>
[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value