enum WorktreeRecord {
Owned,
Removing,
Cleared,
}Expand description
What forge recorded about a worktree it owns, in the repo’s git common dir so the record moves with the repo.
Variants§
Owned
forge created the worktree and has not started removing it.
Removing
A removal this repo admitted started and never reported completion.
Cleared
The removal completed; there is nothing left to clear.
Implementations§
Trait Implementations§
Source§impl Clone for WorktreeRecord
impl Clone for WorktreeRecord
impl Copy for WorktreeRecord
Source§impl Debug for WorktreeRecord
impl Debug for WorktreeRecord
impl Eq for WorktreeRecord
Source§impl PartialEq for WorktreeRecord
impl PartialEq for WorktreeRecord
impl StructuralPartialEq for WorktreeRecord
Auto Trait Implementations§
impl Freeze for WorktreeRecord
impl RefUnwindSafe for WorktreeRecord
impl Send for WorktreeRecord
impl Sync for WorktreeRecord
impl Unpin for WorktreeRecord
impl UnsafeUnpin for WorktreeRecord
impl UnwindSafe for WorktreeRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.