pub enum WorktreeState {
New,
Modified,
Deleted,
Renamed,
Typechange,
Unreadable,
}Expand description
Unstaged (worktree) status for a path.
Variants§
New
Path newly created in worktree.
Modified
Path contents modified in worktree.
Deleted
Path deleted in worktree.
Renamed
Path renamed in worktree.
Typechange
File type changed in worktree.
Unreadable
Path unreadable (permissions or other I/O issues).
Implementations§
Trait Implementations§
Source§impl Clone for WorktreeState
impl Clone for WorktreeState
Source§fn clone(&self) -> WorktreeState
fn clone(&self) -> WorktreeState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorktreeState
impl RefUnwindSafe for WorktreeState
impl Send for WorktreeState
impl Sync for WorktreeState
impl Unpin for WorktreeState
impl UnsafeUnpin for WorktreeState
impl UnwindSafe for WorktreeState
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