Enum git2::RepositoryState
source · [−]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
Merge
Revert
RevertSequence
CherryPick
CherryPickSequence
Bisect
Rebase
RebaseInteractive
RebaseMerge
ApplyMailbox
ApplyMailboxOrRebase
Trait Implementations
sourceimpl Clone for RepositoryState
impl Clone for RepositoryState
sourcefn clone(&self) -> RepositoryState
fn clone(&self) -> RepositoryState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RepositoryState
impl Debug for RepositoryState
sourceimpl PartialEq<RepositoryState> for RepositoryState
impl PartialEq<RepositoryState> for RepositoryState
impl Copy for RepositoryState
impl Eq for RepositoryState
impl StructuralEq for RepositoryState
impl StructuralPartialEq for RepositoryState
Auto Trait Implementations
impl RefUnwindSafe for RepositoryState
impl Send for RepositoryState
impl Sync for RepositoryState
impl Unpin for RepositoryState
impl UnwindSafe for RepositoryState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more