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]

Formats the value using the given formatter.

impl<T> Deref for FutMutexAcquired<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for FutMutexAcquired<T>
[src]

The method called to mutably dereference a value

impl<T> Drop for FutMutexAcquired<T>
[src]

A method called when the value goes out of scope. Read more