pub enum RebaseOutcome {
Clean,
RebaseConflicts(Vec<String>),
AgentResolved,
Failed(String),
}Expand description
Outcome of a rebase attempt.
Variants§
Clean
Rebase succeeded cleanly.
RebaseConflicts(Vec<String>)
Rebase had conflicts. The working tree is left in a mid-rebase state
so the caller can attempt agent-assisted resolution via
rebase_continue / abort_rebase.
AgentResolved
Agent resolved the rebase conflicts.
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