Struct futures_mutex::FutMutexAcquired
[−]
[src]
pub struct FutMutexAcquired<T> { /* fields omitted */ }
Deprecated since 0.2.1
: Crate is no longer being maintained
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
[src]
Dereferences the value.