struct WorktreeLock {
path: PathBuf,
pid: Option<u32>,
}Expand description
A worktree lock: the canonicalized path plus the pid the CLI stamps into its reason, when it carries one.
Fields§
§path: PathBuf§pid: Option<u32>Auto Trait Implementations§
impl Freeze for WorktreeLock
impl RefUnwindSafe for WorktreeLock
impl Send for WorktreeLock
impl Sync for WorktreeLock
impl Unpin for WorktreeLock
impl UnsafeUnpin for WorktreeLock
impl UnwindSafe for WorktreeLock
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