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]
impl<T> BiLockAcquired<T>
Trait Implementations
impl<T: Debug> Debug for BiLockAcquired<T>
[src]
impl<T: Debug> Debug for BiLockAcquired<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Deref for BiLockAcquired<T>
[src]
impl<T> Deref for BiLockAcquired<T>
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
fn deref(&self) -> &T
Dereferences the value.
impl<T> DerefMut for BiLockAcquired<T>
[src]
impl<T> DerefMut for BiLockAcquired<T>
impl<T> Drop for BiLockAcquired<T>
[src]
impl<T> Drop for BiLockAcquired<T>
Auto Trait Implementations
impl<T> Send for BiLockAcquired<T> where
T: Send,
impl<T> Send for BiLockAcquired<T> where
T: Send,
impl<T> Sync for BiLockAcquired<T> where
T: Send,
impl<T> Sync for BiLockAcquired<T> where
T: Send,