#[non_exhaustive]pub enum DiffVerdict {
Equivalent,
Tightened,
Loosened,
Diverged,
Unknown,
Vacuous,
}Expand description
How new differs from old up to the searched scope.
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.
Equivalent
Every case up to the scope allowed by one is allowed by the other.
Tightened
new forbids at least one case old allows, and allows nothing extra.
Loosened
new allows at least one case old forbids, and forbids nothing old allows.
Diverged
Each model allows at least one case the other forbids.
Unknown
One of the checks ran out of budget.
Vacuous
diff --of: the two models together allow no case, so there is
nothing to compare the functions on. The rules are wrong, not the
functions equal (DESIGN.md section 7.6).
Trait Implementations§
Source§impl Clone for DiffVerdict
impl Clone for DiffVerdict
impl Copy for DiffVerdict
Source§impl Debug for DiffVerdict
impl Debug for DiffVerdict
Source§impl Display for DiffVerdict
impl Display for DiffVerdict
impl Eq for DiffVerdict
Source§impl PartialEq for DiffVerdict
impl PartialEq for DiffVerdict
Source§impl Serialize for DiffVerdict
impl Serialize for DiffVerdict
impl StructuralPartialEq for DiffVerdict
Auto Trait Implementations§
impl Forget for DiffVerdict
impl Freeze for DiffVerdict
impl Move for DiffVerdict
impl RefUnwindSafe for DiffVerdict
impl Send for DiffVerdict
impl Sync for DiffVerdict
impl Unpin for DiffVerdict
impl UnsafeUnpin for DiffVerdict
impl UnwindSafe for DiffVerdict
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