#[non_exhaustive]pub enum RegionConformanceFailure {
Base(ConformanceFailure),
ReturnedError {
case: &'static str,
error: String,
},
WrongChains {
case: &'static str,
},
WrongRegions {
case: &'static str,
},
WrongEvidence {
case: &'static str,
},
WrongRefusal {
case: &'static str,
expected: &'static str,
actual: String,
},
WrongCutRegions {
case: &'static str,
},
NonDeterministic {
case: &'static str,
},
}Expand description
One conformance failure of the region suite.
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.
Base(ConformanceFailure)
The provider’s legacy section fails the base suite.
ReturnedError
A case returned an error that is not its expected refusal.
WrongChains
The chains differ from the fixture’s.
WrongRegions
The regions differ from the fixture’s.
WrongEvidence
The evidence does not match the fixture and the output.
WrongRefusal
A case must be refused and was not, or was refused otherwise.
Fields
WrongCutRegions
The cut regions, or the answer around them, differ from the fixture’s.
NonDeterministic
Two runs of one case differ.
Trait Implementations§
Source§impl Clone for RegionConformanceFailure
impl Clone for RegionConformanceFailure
Source§fn clone(&self) -> RegionConformanceFailure
fn clone(&self) -> RegionConformanceFailure
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 RegionConformanceFailure
impl Debug for RegionConformanceFailure
Source§impl PartialEq for RegionConformanceFailure
impl PartialEq for RegionConformanceFailure
impl StructuralPartialEq for RegionConformanceFailure
Auto Trait Implementations§
impl Freeze for RegionConformanceFailure
impl RefUnwindSafe for RegionConformanceFailure
impl Send for RegionConformanceFailure
impl Sync for RegionConformanceFailure
impl Unpin for RegionConformanceFailure
impl UnsafeUnpin for RegionConformanceFailure
impl UnwindSafe for RegionConformanceFailure
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