#[non_exhaustive]pub enum ExclusionReason {
PairingBroken {
parts: Vec<ItemPart>,
},
RecordedPartChanged {
parts: Vec<ItemPart>,
},
}Expand description
Why an item could not be paired between two runs.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PairingBroken
Authored parts of the item changed, so the two runs measured two different scenarios under one identifier. Nothing about this item is compared.
RecordedPartChanged
Parts declared recorded changed.
Testimony about what the system actually emitted does not change on its own, so something regenerated it — and regenerating a recording destroys the only property that made it worth keeping. This is a defect in the corpus or in the tooling that touched it, and it is deliberately not a result about the model: the item is excluded from every figure and reported on its own terms.
Trait Implementations§
Source§impl Clone for ExclusionReason
impl Clone for ExclusionReason
Source§impl Debug for ExclusionReason
impl Debug for ExclusionReason
Source§impl<'de> Deserialize<'de> for ExclusionReason
impl<'de> Deserialize<'de> for ExclusionReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExclusionReason
impl Display for ExclusionReason
Source§impl PartialEq for ExclusionReason
impl PartialEq for ExclusionReason
Source§impl Serialize for ExclusionReason
impl Serialize for ExclusionReason
impl StructuralPartialEq for ExclusionReason
Auto Trait Implementations§
impl Freeze for ExclusionReason
impl RefUnwindSafe for ExclusionReason
impl Send for ExclusionReason
impl Sync for ExclusionReason
impl Unpin for ExclusionReason
impl UnsafeUnpin for ExclusionReason
impl UnwindSafe for ExclusionReason
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