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§
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)
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.