Trait EventInterrupt

Source
pub trait EventInterrupt
where Self: Debug + Clone + Copy,
{ type Architecture: Architecture + ?Sized; // Required method fn gfn(&self) -> Gfn; }
Expand description

An interrupt event, providing details about the interrupt.

Required Associated Types§

Source

type Architecture: Architecture + ?Sized

The specific CPU architecture implementation.

Required Methods§

Source

fn gfn(&self) -> Gfn

Returns the guest frame number where the interrupt occurred. Effectively, this is GFN of the current instruction pointer.

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§