pub struct LockedShared<'wait_list, L: Lock, I, O> {
pub guard: <L as Lifetime<'wait_list>>::SharedGuard,
/* private fields */
}
Expand description
A shared lock on a WaitList
, created by WaitList::lock_shared
.
Fields§
§guard: <L as Lifetime<'wait_list>>::SharedGuard
The lock guard holding the lock on the WaitList
.
Methods from Deref<Target = LockedCommon<'wait_list, L, I, O>>§
Trait Implementations§
Auto Trait Implementations§
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