Struct futures::sync::BiLockAcquired
source · [−]pub struct BiLockAcquired<T> { /* private fields */ }Expand description
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.
Implementations
sourceimpl<T> BiLockAcquired<T>
impl<T> BiLockAcquired<T>
Trait Implementations
sourceimpl<T: Debug> Debug for BiLockAcquired<T>
impl<T: Debug> Debug for BiLockAcquired<T>
sourceimpl<T> Deref for BiLockAcquired<T>
impl<T> Deref for BiLockAcquired<T>
sourceimpl<T> DerefMut for BiLockAcquired<T>
impl<T> DerefMut for BiLockAcquired<T>
Auto Trait Implementations
impl<T> !RefUnwindSafe for BiLockAcquired<T>
impl<T> Send for BiLockAcquired<T> where
T: Send,
impl<T> Sync for BiLockAcquired<T> where
T: Send,
impl<T> Unpin for BiLockAcquired<T>
impl<T> !UnwindSafe for BiLockAcquired<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more