pub enum MergeState {
Queued,
Merging,
Merged,
NeedsReview,
Discarded,
}Expand description
Current state of a loop in the merge queue.
Variants§
Queued
Waiting to be merged.
Merging
Currently being merged.
Merged
Successfully merged.
NeedsReview
Needs manual review.
Discarded
Discarded by user.
Implementations§
Source§impl MergeState
impl MergeState
Sourcepub fn is_terminal(self) -> bool
pub fn is_terminal(self) -> bool
Returns true if this is a terminal state (no further transitions possible).
Terminal states (Merged, Discarded) represent completed loops that
no longer need user attention and can be filtered from UI displays.
Trait Implementations§
Source§impl Clone for MergeState
impl Clone for MergeState
Source§fn clone(&self) -> MergeState
fn clone(&self) -> MergeState
Returns a duplicate of the value. Read more
1.0.0 · 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 MergeState
impl Debug for MergeState
Source§impl PartialEq for MergeState
impl PartialEq for MergeState
impl Copy for MergeState
impl Eq for MergeState
impl StructuralPartialEq for MergeState
Auto Trait Implementations§
impl Freeze for MergeState
impl RefUnwindSafe for MergeState
impl Send for MergeState
impl Sync for MergeState
impl Unpin for MergeState
impl UnsafeUnpin for MergeState
impl UnwindSafe for MergeState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.