pub struct MergeContinuityViolation {
pub defect: ContinuityDefect,
pub from_sources: Vec<usize>,
pub to_sources: Vec<usize>,
pub crosses_contributors: bool,
}Expand description
One continuity violation in the merged product, attributed to the contributors on each side of it.
At a splice the actionable fact is not that the arc jumped but between
which two contributors it jumped, which is why this exists rather than a
bare ContinuityDefect.
Fields§
§defect: ContinuityDefectThe violation as the continuity check reported it.
from_sources: Vec<usize>Sources supplying the earlier side of the offending epoch pair, as recorded when the merge chose that cell. Empty when the merged product carries no cell there (the check reached past the merge’s own coverage).
to_sources: Vec<usize>Sources supplying the later side of the offending epoch pair.
crosses_contributors: boolWhether the two sides were supplied by different contributors. A violation across a contributor change is a splice; one inside a single contributor’s arc is that contributor’s own discontinuity, and the two call for different follow-up.
Trait Implementations§
Source§impl Clone for MergeContinuityViolation
impl Clone for MergeContinuityViolation
Source§fn clone(&self) -> MergeContinuityViolation
fn clone(&self) -> MergeContinuityViolation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MergeContinuityViolation
impl Debug for MergeContinuityViolation
Source§impl PartialEq for MergeContinuityViolation
impl PartialEq for MergeContinuityViolation
impl StructuralPartialEq for MergeContinuityViolation
Auto Trait Implementations§
impl Freeze for MergeContinuityViolation
impl RefUnwindSafe for MergeContinuityViolation
impl Send for MergeContinuityViolation
impl Sync for MergeContinuityViolation
impl Unpin for MergeContinuityViolation
impl UnsafeUnpin for MergeContinuityViolation
impl UnwindSafe for MergeContinuityViolation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.