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

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.


impl<T> BiLockAcquired<T>[src]

pub fn unlock(self) -> BiLock<T>[src]

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

Trait Implementations

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

type Target = T

The resulting type after dereferencing.

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

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

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

Auto Trait Implementations

impl<T> Unpin for BiLockAcquired<T>

impl<T> Send for BiLockAcquired<T> where
    T: Send

impl<T> Sync for BiLockAcquired<T> where
    T: Send

impl<T> !UnwindSafe for BiLockAcquired<T>

impl<T> !RefUnwindSafe for BiLockAcquired<T>

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized