Struct futures_locks::MutexGuard[][src]

pub struct MutexGuard<T: ?Sized> { /* fields omitted */ }

An RAII mutex guard, much like std::sync::MutexGuard. The wrapped data can be accessed via its Deref and DerefMut implementations.

Trait Implementations

impl<T: ?Sized> Drop for MutexGuard<T>
[src]

Executes the destructor for this type. Read more

impl<T: ?Sized> Deref for MutexGuard<T>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<T: ?Sized> DerefMut for MutexGuard<T>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<T: ?Sized> Send for MutexGuard<T> where
    T: Send

impl<T: ?Sized> Sync for MutexGuard<T> where
    T: Send