pub struct TraceEvent {
pub effect: EffectId,
pub event: Event,
pub op: Op,
pub before: RelayVar,
pub after: RelayVar,
}Expand description
One recorded interpreter step (doc 11 §5).
Fields§
§effect: EffectIdThe firing hook’s synthesized id (the source_effect).
event: EventThe closed event being folded.
op: OpThe op that ran (cloned for inspection).
before: RelayVarThe relay BEFORE the op.
after: RelayVarThe relay AFTER the op (the op’s HandlerResult applied locally).
Trait Implementations§
Source§impl Clone for TraceEvent
impl Clone for TraceEvent
Source§fn clone(&self) -> TraceEvent
fn clone(&self) -> TraceEvent
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 TraceEvent
impl Debug for TraceEvent
Source§impl PartialEq for TraceEvent
impl PartialEq for TraceEvent
impl StructuralPartialEq for TraceEvent
Auto Trait Implementations§
impl Freeze for TraceEvent
impl RefUnwindSafe for TraceEvent
impl Send for TraceEvent
impl Sync for TraceEvent
impl Unpin for TraceEvent
impl UnsafeUnpin for TraceEvent
impl UnwindSafe for TraceEvent
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