pub enum CmeFixtureExpectationKindV0 {
Product,
Assertion,
Diagnostic,
NoDiagnostic,
Count,
CascadeOutcome,
CascadeWitness,
BoundaryState,
Unknown,
}Expand description
Known cme-fixture-v0 expectation families.
Variants§
Product
Product-surface expectation.
Assertion
Free-form assertion text.
Diagnostic
Expected diagnostic with code/range/message details in the body.
NoDiagnostic
A diagnostic code or code pattern that must not appear.
Count
Expected diagnostic count, usually <code>:<n>.
CascadeOutcome
Expected cascade winner declaration id.
CascadeWitness
Expected declaration participating in a cascade witness.
BoundaryState
Expected external-reference boundary state.
Unknown
Unknown or product-owned expectation family.
Trait Implementations§
Source§impl Clone for CmeFixtureExpectationKindV0
impl Clone for CmeFixtureExpectationKindV0
Source§fn clone(&self) -> CmeFixtureExpectationKindV0
fn clone(&self) -> CmeFixtureExpectationKindV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CmeFixtureExpectationKindV0
impl Debug for CmeFixtureExpectationKindV0
Source§impl Hash for CmeFixtureExpectationKindV0
impl Hash for CmeFixtureExpectationKindV0
Source§impl Ord for CmeFixtureExpectationKindV0
impl Ord for CmeFixtureExpectationKindV0
Source§fn cmp(&self, other: &CmeFixtureExpectationKindV0) -> Ordering
fn cmp(&self, other: &CmeFixtureExpectationKindV0) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CmeFixtureExpectationKindV0
impl PartialEq for CmeFixtureExpectationKindV0
Source§fn eq(&self, other: &CmeFixtureExpectationKindV0) -> bool
fn eq(&self, other: &CmeFixtureExpectationKindV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CmeFixtureExpectationKindV0
impl PartialOrd for CmeFixtureExpectationKindV0
impl Copy for CmeFixtureExpectationKindV0
impl Eq for CmeFixtureExpectationKindV0
impl StructuralPartialEq for CmeFixtureExpectationKindV0
Auto Trait Implementations§
impl Freeze for CmeFixtureExpectationKindV0
impl RefUnwindSafe for CmeFixtureExpectationKindV0
impl Send for CmeFixtureExpectationKindV0
impl Sync for CmeFixtureExpectationKindV0
impl Unpin for CmeFixtureExpectationKindV0
impl UnsafeUnpin for CmeFixtureExpectationKindV0
impl UnwindSafe for CmeFixtureExpectationKindV0
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