pub struct LockGuard { /* private fields */ }
Expand description
A RAII implementation of a scoped lock.
When this structure is dropped (falls out of scope), the virtual lock will be released.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LockGuard
impl RefUnwindSafe for LockGuard
impl Unpin for LockGuard
impl UnwindSafe for LockGuard
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