pub enum InProgressOperation {
Merge,
RebaseInteractive,
Rebase,
CherryPick,
Revert,
Bisect,
Am,
}Expand description
An in-progress operation that the repository is in the middle of.
Variants§
Merge
A merge is in progress (MERGE_HEAD exists).
RebaseInteractive
An interactive rebase is in progress (rebase-merge/ exists).
Rebase
A non-interactive rebase is in progress (rebase-apply/ exists).
CherryPick
A cherry-pick is in progress (CHERRY_PICK_HEAD exists).
Revert
A revert is in progress (REVERT_HEAD exists).
Bisect
A bisect is in progress (BISECT_LOG exists).
Am
An am (apply mailbox) is in progress (rebase-apply/applying exists).
Implementations§
Trait Implementations§
Source§impl Clone for InProgressOperation
impl Clone for InProgressOperation
Source§fn clone(&self) -> InProgressOperation
fn clone(&self) -> InProgressOperation
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 moreimpl Copy for InProgressOperation
Source§impl Debug for InProgressOperation
impl Debug for InProgressOperation
impl Eq for InProgressOperation
Source§impl PartialEq for InProgressOperation
impl PartialEq for InProgressOperation
Source§fn eq(&self, other: &InProgressOperation) -> bool
fn eq(&self, other: &InProgressOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InProgressOperation
Auto Trait Implementations§
impl Freeze for InProgressOperation
impl RefUnwindSafe for InProgressOperation
impl Send for InProgressOperation
impl Sync for InProgressOperation
impl Unpin for InProgressOperation
impl UnsafeUnpin for InProgressOperation
impl UnwindSafe for InProgressOperation
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