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

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

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

impl Clone for InterceptType[src]

impl Copy for InterceptType[src]

impl Debug for InterceptType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.