pub enum FailureKind {
Mismatch,
MalformedEmbeddedVector,
}Expand description
Why a single primitive’s check failed.
Variants§
Mismatch
The live implementation’s output did not match the embedded official vector - a real correctness failure in this build.
MalformedEmbeddedVector
The vector text embedded in this binary at compile time could not be parsed. This is an
integrity bug in this crate’s own release, not something a caller did - the embedded text is
a fixed file under this crate’s own tests/vectors/, already read the same way by
cargo test every CI run, so this should never fire in a real build.
Trait Implementations§
Source§impl Clone for FailureKind
impl Clone for FailureKind
Source§fn clone(&self) -> FailureKind
fn clone(&self) -> FailureKind
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 moreimpl Copy for FailureKind
Source§impl Debug for FailureKind
impl Debug for FailureKind
Source§impl Display for FailureKind
impl Display for FailureKind
impl Eq for FailureKind
Source§impl PartialEq for FailureKind
impl PartialEq for FailureKind
impl StructuralPartialEq for FailureKind
Auto Trait Implementations§
impl Freeze for FailureKind
impl RefUnwindSafe for FailureKind
impl Send for FailureKind
impl Sync for FailureKind
impl Unpin for FailureKind
impl UnsafeUnpin for FailureKind
impl UnwindSafe for FailureKind
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