pub struct CacheWriteLock { /* private fields */ }Expand description
A held lock on the cache’s range writes: shared by a write in progress, exclusive while opening finds abandoned ones. Dropping it unlocks.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CacheWriteLock
impl RefUnwindSafe for CacheWriteLock
impl Send for CacheWriteLock
impl Sync for CacheWriteLock
impl Unpin for CacheWriteLock
impl UnsafeUnpin for CacheWriteLock
impl UnwindSafe for CacheWriteLock
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