pub struct ClosedStoreLock { /* private fields */ }Expand description
The writer lock, held while a closed store is read without opening it: holding it shows that no handle runs the store’s sync. Registered in this process as closing from the start, so an open waits for its release. Dropping it unlocks.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClosedStoreLock
impl RefUnwindSafe for ClosedStoreLock
impl Send for ClosedStoreLock
impl Sync for ClosedStoreLock
impl Unpin for ClosedStoreLock
impl UnsafeUnpin for ClosedStoreLock
impl UnwindSafe for ClosedStoreLock
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