pub enum IntegrationEnding {
Unchanged,
Advanced,
AdvancedAndPushed,
}Expand description
Where the train left the base.
One value rather than two flags, because a base that never moved cannot have
been pushed: --push updates the remote only when the base advanced, and
“pushed an unchanged base” is a state the train has no way to produce.
Variants§
Unchanged
Every candidate was skipped or was already on the base.
Advanced
At least one candidate landed, and the base was left local.
AdvancedAndPushed
At least one candidate landed, and the advanced base reached the remote.
Implementations§
Trait Implementations§
impl Copy for Ending
impl Eq for Ending
impl StructuralPartialEq for Ending
Auto Trait Implementations§
impl Freeze for Ending
impl RefUnwindSafe for Ending
impl Send for Ending
impl Sync for Ending
impl Unpin for Ending
impl UnsafeUnpin for Ending
impl UnwindSafe for Ending
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.