Enum winter_air::AssertionError
source · pub enum AssertionError {
TraceWidthTooShort(usize, usize),
TraceLengthNotPowerOfTwo(usize),
TraceLengthTooShort(usize, usize),
TraceLengthNotExact(usize, usize),
}Expand description
Represents an error returned during assertion evaluation.
Variants§
TraceWidthTooShort(usize, usize)
This error occurs when an assertion is evaluated against an execution trace which does not contain a column specified by the assertion.
TraceLengthNotPowerOfTwo(usize)
This error occurs when an assertion is evaluated against an execution trace with length which is not a power of two.
TraceLengthTooShort(usize, usize)
This error occurs when an assertion is evaluated against an execution trace which does not contain a step against which the assertion is placed.
TraceLengthNotExact(usize, usize)
This error occurs when a Sequence assertion is placed against an execution trace with
length which conflicts with the trace length implied by the assertion.
Trait Implementations§
source§impl Debug for AssertionError
impl Debug for AssertionError
source§impl Display for AssertionError
impl Display for AssertionError
source§impl PartialEq for AssertionError
impl PartialEq for AssertionError
source§fn eq(&self, other: &AssertionError) -> bool
fn eq(&self, other: &AssertionError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AssertionError
impl StructuralPartialEq for AssertionError
Auto Trait Implementations§
impl Freeze for AssertionError
impl RefUnwindSafe for AssertionError
impl Send for AssertionError
impl Sync for AssertionError
impl Unpin for AssertionError
impl UnwindSafe for AssertionError
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