pub enum RebaseOutcome {
Clean,
MergeFallback,
MergeConflicts(Vec<String>),
AgentResolved,
Failed(String),
}Expand description
Outcome of a rebase attempt with fallbacks.
Variants§
Clean
Rebase succeeded cleanly.
MergeFallback
Rebase had conflicts, fell back to a merge commit.
MergeConflicts(Vec<String>)
Both rebase and merge failed. The working tree has unresolved merge
conflicts – the caller can attempt agent-assisted resolution before
calling abort_merge or committing.
AgentResolved
Agent resolved the merge conflicts after both rebase and merge failed.
Failed(String)
Unrecoverable failure (e.g. fetch failed).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RebaseOutcome
impl RefUnwindSafe for RebaseOutcome
impl Send for RebaseOutcome
impl Sync for RebaseOutcome
impl Unpin for RebaseOutcome
impl UnsafeUnpin for RebaseOutcome
impl UnwindSafe for RebaseOutcome
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