Struct futures::sync::BiLockAcquired [] [src]

pub struct BiLockAcquired<T> { /* fields omitted */ }

Resolved value of the BiLockAcquire<T> future.

This value, like BiLockGuard<T>, is a sentinel to the value T through implementations of Deref and DerefMut. When dropped will unlock the lock, and the original unlocked BiLock<T> can be recovered through the unlock method.

Methods

impl<T> BiLockAcquired<T>
[src]

[src]

Recovers the original BiLock<T>, unlocking this lock.

Trait Implementations

impl<T: Debug> Debug for BiLockAcquired<T>
[src]

[src]

Formats the value using the given formatter.

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

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Mutably dereferences the value.

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

[src]

Executes the destructor for this type. Read more