Struct futures_util::lock::BiLockAcquire [] [src]

#[must_use = "futures do nothing unless polled"]
pub struct BiLockAcquire<T> { /* fields omitted */ }

Future returned by BiLock::lock which will resolve when the lock is acquired.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<T> Future for BiLockAcquire<T>
[src]

A successful value

An error

[src]

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

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

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