Enum microvmi::api::events::InterceptType[][src]

#[repr(C)]
pub enum InterceptType {
    Cr(CrType),
    Msr(u32),
    Breakpoint,
    Pagefault,
}
Expand description

Various types of intercepts handled by libmicrovmi

Variants

Cr(CrType)

Intercept when value of cr register is changed by the guest

Msr(u32)

Intercept when value of msr register is changed by the guest

Breakpoint

Intercept when guest requests an access to a page for which the requested type of access is not granted. For example , guest tries to write on a read only page.

Pagefault

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.