pub struct Recorder { /* private fields */ }Expand description
Tracer that builds a TraceTree. The tree is shared via Arc<Mutex>
so callers can read it after the VM finishes.
Implementations§
Trait Implementations§
Source§impl Tracer for Recorder
impl Tracer for Recorder
fn enter_call(&mut self, node_id: &str, name: &str, args: &[Value])
fn enter_effect(&mut self, node_id: &str, kind: &str, op: &str, args: &[Value])
fn exit_ok(&mut self, value: &Value)
fn exit_err(&mut self, message: &str)
Source§fn exit_call_tail(&mut self)
fn exit_call_tail(&mut self)
Tail-call optimization: pop the current frame’s open call without
re-entering the parent (the new call takes its place).
Auto Trait Implementations§
impl Freeze for Recorder
impl RefUnwindSafe for Recorder
impl Send for Recorder
impl Sync for Recorder
impl Unpin for Recorder
impl UnsafeUnpin for Recorder
impl UnwindSafe for Recorder
Blanket Implementations§
impl<T> Allocation for T
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