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§
Trait Implementations§
Source§impl<T> Debug for BiLockAcquired<T>where
T: Debug,
impl<T> Debug for BiLockAcquired<T>where
T: Debug,
Source§impl<T> Deref for BiLockAcquired<T>
impl<T> Deref for BiLockAcquired<T>
Source§impl<T> DerefMut for BiLockAcquired<T>
impl<T> DerefMut for BiLockAcquired<T>
Auto Trait Implementations§
impl<T> Freeze for BiLockAcquired<T>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more