pub struct ShardLock { /* private fields */ }Expand description
RAII guard for repository-wide exclusive lock used during writes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShardLock
impl RefUnwindSafe for ShardLock
impl Send for ShardLock
impl Sync for ShardLock
impl Unpin for ShardLock
impl UnsafeUnpin for ShardLock
impl UnwindSafe for ShardLock
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