pub struct Event {
pub kind: EventKind,
pub attempt: u64,
pub vacuous: bool,
pub values: Vec<i64>,
pub tag: u64,
pub call: Option<CallFire>,
pub flags: u32,
pub time: Option<u64>,
}Expand description
One reported attempt outcome.
Fields§
§kind: EventKind§attempt: u64The attempt’s ordinal (0-based) among the attempts this engine started.
vacuous: boolWhether the success was vacuous (16.14.8: the attempt was not nonvacuous).
Always false for a failure and for a cover sequence match.
values: Vec<i64>The values the attempt’s instance captured when it was queued (16.14.6.1; empty for a static assertion), which its action block reads.
tag: u64The tag the attempt’s instance was activated with
(Engine::activate_tagged; 0 for Engine::activate and for a static
assertion): which blocked process an expect outcome unblocks.
call: Option<CallFire>The call of an EventKind::Call; None for every other kind.
flags: u32The Q_* action flags (crate::sched::assert_control) in force when the
attempt started: an assertion already executing is not affected by a later
$assertpassoff/$assertfailoff/… (20.11), so the report filter reads
these, not the current ones.
time: Option<u64>With EngineConfig::future, for a verdict: the time step of the tick
the verdict was reached at, the attempt’s last assertion clock tick
(16.9.4: the verdict is reported at the global clock tick after it, but
the attempt’s interval ends at that tick). None otherwise.
Trait Implementations§
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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
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
key and return true if they are equal.