pub struct CommitLocks { /* private fields */ }Expand description
A process-wide registry of per-worktree commit mutexes. Share one Arc
across every VaultRepo so handles to the same worktree serialize.
Implementations§
Source§impl CommitLocks
impl CommitLocks
Trait Implementations§
Source§impl Default for CommitLocks
impl Default for CommitLocks
Source§fn default() -> CommitLocks
fn default() -> CommitLocks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for CommitLocks
impl RefUnwindSafe for CommitLocks
impl Send for CommitLocks
impl Sync for CommitLocks
impl Unpin for CommitLocks
impl UnsafeUnpin for CommitLocks
impl UnwindSafe for CommitLocks
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