pub enum GitWorktreeStatus {
Unmodified,
Modified,
Deleted,
Untracked,
Ignored,
Conflicted,
}Expand description
Worktree-side status vocabulary.
Variants§
Unmodified
No worktree-side change.
Modified
Modified in the worktree.
Deleted
Deleted in the worktree.
Untracked
Untracked in the worktree.
Ignored
Ignored in the worktree.
Conflicted
Conflicted in the worktree.
Implementations§
Trait Implementations§
Source§impl Clone for GitWorktreeStatus
impl Clone for GitWorktreeStatus
Source§fn clone(&self) -> GitWorktreeStatus
fn clone(&self) -> GitWorktreeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitWorktreeStatus
impl Debug for GitWorktreeStatus
Source§impl Display for GitWorktreeStatus
impl Display for GitWorktreeStatus
Source§impl FromStr for GitWorktreeStatus
impl FromStr for GitWorktreeStatus
Source§type Err = GitStatusParseError
type Err = GitStatusParseError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<GitWorktreeStatus, <GitWorktreeStatus as FromStr>::Err>
fn from_str( value: &str, ) -> Result<GitWorktreeStatus, <GitWorktreeStatus as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for GitWorktreeStatus
impl Hash for GitWorktreeStatus
Source§impl Ord for GitWorktreeStatus
impl Ord for GitWorktreeStatus
Source§fn cmp(&self, other: &GitWorktreeStatus) -> Ordering
fn cmp(&self, other: &GitWorktreeStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GitWorktreeStatus
impl PartialEq for GitWorktreeStatus
Source§fn eq(&self, other: &GitWorktreeStatus) -> bool
fn eq(&self, other: &GitWorktreeStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GitWorktreeStatus
impl PartialOrd for GitWorktreeStatus
impl Copy for GitWorktreeStatus
impl Eq for GitWorktreeStatus
impl StructuralPartialEq for GitWorktreeStatus
Auto Trait Implementations§
impl Freeze for GitWorktreeStatus
impl RefUnwindSafe for GitWorktreeStatus
impl Send for GitWorktreeStatus
impl Sync for GitWorktreeStatus
impl Unpin for GitWorktreeStatus
impl UnsafeUnpin for GitWorktreeStatus
impl UnwindSafe for GitWorktreeStatus
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