pub enum RepositoryState {
Clean,
Merge,
Revert,
RevertSequence,
CherryPick,
CherryPickSequence,
Bisect,
Rebase,
RebaseInteractive,
RebaseMerge,
ApplyMailbox,
ApplyMailboxOrRebase,
}Expand description
A listing of the possible states that a repository can be in.
Variants§
Clean
No operation is currently in progress
Merge
A merge is currently in progress
Revert
A revert is currently in progress
RevertSequence
A revert of multiple commits is currently in progress
CherryPick
A cherry pick is currently in progress
CherryPickSequence
A cherry pick of multiple commits is currently in progress
Bisect
A bisect is currently in progress
Rebase
A rebase is currently in progress
RebaseInteractive
An interactive rebase is currently in progress
RebaseMerge
A rebase with a merge conflict is currently in progress
ApplyMailbox
An apply operation is currently in progress
ApplyMailboxOrRebase
A rebase or apply operation is currently in progress
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 (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 RepositoryState
impl Debug for RepositoryState
Source§impl PartialEq for RepositoryState
impl PartialEq for RepositoryState
Source§fn eq(&self, other: &RepositoryState) -> bool
fn eq(&self, other: &RepositoryState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RepositoryState
impl Eq 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 UnsafeUnpin 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