Trait EventMemoryAccess

Source
pub trait EventMemoryAccess
where Self: Debug + Clone + Copy,
{ type Architecture: Architecture + ?Sized; // Required methods fn pa(&self) -> Pa; fn va(&self) -> Va; fn access(&self) -> MemoryAccess; }
Expand description

A memory access event, providing details about the accessed memory.

Required Associated Types§

Source

type Architecture: Architecture + ?Sized

The specific CPU architecture implementation.

Required Methods§

Source

fn pa(&self) -> Pa

Returns the physical address of the memory access.

Source

fn va(&self) -> Va

Returns the virtual address of the memory access.

Source

fn access(&self) -> MemoryAccess

Returns the type of memory access (e.g., read, write, execute).

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.

Implementors§