Struct futures_mutex::FutMutexGuard [] [src]

pub struct FutMutexGuard<'a, T: 'a> { /* fields omitted */ }
Deprecated since 0.2.1

: Crate is no longer being maintained

Returned RAII guard from the poll_lock method.

This structure acts as a sentinel to the data in the FutMutex<T> itself, implementing Deref and DerefMut to T. When dropped, the lock will be unlocked.

Trait Implementations

impl<'a, T: Debug + 'a> Debug for FutMutexGuard<'a, T>
[src]

[src]

Formats the value using the given formatter.

impl<'a, T> Deref for FutMutexGuard<'a, T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<'a, T> DerefMut for FutMutexGuard<'a, T>
[src]

[src]

Mutably dereferences the value.

impl<'a, T> Drop for FutMutexGuard<'a, T>
[src]

[src]

Executes the destructor for this type. Read more