pub struct NoLock;Expand description
A dummy lock that provides the proper interface but no protection.
This is used as a default lock when no synchronization is needed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoLock
impl RefUnwindSafe for NoLock
impl Send for NoLock
impl Sync for NoLock
impl Unpin for NoLock
impl UnwindSafe for NoLock
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