pub enum RepositoryState {
Clean,
Dirty,
Rebasing,
Merging,
CherryPicking,
Bisecting,
ApplyingPatches,
DetachedHead,
}
Expand description
Repository state that might prevent syncing
Variants§
Clean
Repository is clean and ready
Dirty
Repository has uncommitted changes
Rebasing
Repository is in the middle of a rebase
Merging
Repository is in the middle of a merge
CherryPicking
Repository is cherry-picking
Bisecting
Repository is bisecting
ApplyingPatches
Repository is applying patches (git am)
DetachedHead
HEAD is detached
Trait Implementations§
Source§impl Clone for RepositoryState
impl Clone for RepositoryState
Source§fn clone(&self) -> RepositoryState
fn clone(&self) -> RepositoryState
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 moreSource§impl Debug for RepositoryState
impl Debug for RepositoryState
Source§impl PartialEq for RepositoryState
impl PartialEq for RepositoryState
impl StructuralPartialEq for RepositoryState
Auto Trait Implementations§
impl Freeze for RepositoryState
impl RefUnwindSafe for RepositoryState
impl Send for RepositoryState
impl Sync for RepositoryState
impl Unpin for RepositoryState
impl UnwindSafe for RepositoryState
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