pub enum AssertKind {
Assert,
Assume,
CoverProperty,
CoverSequence,
Restrict,
Expect,
}Expand description
What a concurrent assertion statement is (16.14.1-16.14.5).
Variants§
Assert
assert property: failures and successes run the action block.
Assume
assume property: checked as assert in simulation (16.14.2).
CoverProperty
cover property: counts and runs the pass statement per successful
attempt (16.14.3).
CoverSequence
cover sequence: counts and runs the pass statement per match.
Restrict
restrict property: never checked in simulation (16.14.5).
Expect
The expect statement (16.17): a procedural blocking statement that
starts one evaluation thread on the clocking event strictly after its
own step and reports its single outcome. Judged as an assert is.
Trait Implementations§
Source§impl Clone for AssertKind
impl Clone for AssertKind
impl Copy for AssertKind
Source§impl Debug for AssertKind
impl Debug for AssertKind
impl Eq for AssertKind
Source§impl PartialEq for AssertKind
impl PartialEq for AssertKind
impl StructuralPartialEq for AssertKind
Auto Trait Implementations§
impl Freeze for AssertKind
impl RefUnwindSafe for AssertKind
impl Send for AssertKind
impl Sync for AssertKind
impl Unpin for AssertKind
impl UnsafeUnpin for AssertKind
impl UnwindSafe for AssertKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.