Tracer

Trait Tracer 

Source
pub trait Tracer: Sized {
    const SHOULD_CALL_ON_EVENT: bool;

    // Provided methods
    fn should_enable_fast_forward(&self) -> bool { ... }
    fn on_event(&mut self, _cycle: u32, _instruction: u32, _event: EventKind) { ... }
}

Required Associated Constants§

Provided Methods§

Source

fn should_enable_fast_forward(&self) -> bool

Source

fn on_event(&mut self, _cycle: u32, _instruction: u32, _event: EventKind)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Tracer for ()

Implementors§