#[repr(C)]pub enum hv_exit_reason_t {
CANCELED = 0,
EXCEPTION = 1,
VTIMER_ACTIVATED = 2,
UNKNOWN = 3,
}Expand description
The type that describes the event that triggered a guest exit to the host.
Variants§
CANCELED = 0
The value that identifies exits requested by exit handler on the host.
EXCEPTION = 1
The value that identifies traps caused by the guest operations.
VTIMER_ACTIVATED = 2
The value that identifies when the virtual timer enters the pending state.
UNKNOWN = 3
The value that identifies unexpected exits.
Trait Implementations§
Source§impl Clone for hv_exit_reason_t
impl Clone for hv_exit_reason_t
Source§fn clone(&self) -> hv_exit_reason_t
fn clone(&self) -> hv_exit_reason_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for hv_exit_reason_t
impl Debug for hv_exit_reason_t
Source§impl Hash for hv_exit_reason_t
impl Hash for hv_exit_reason_t
Source§impl Ord for hv_exit_reason_t
impl Ord for hv_exit_reason_t
Source§fn cmp(&self, other: &hv_exit_reason_t) -> Ordering
fn cmp(&self, other: &hv_exit_reason_t) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for hv_exit_reason_t
impl PartialEq for hv_exit_reason_t
Source§impl PartialOrd for hv_exit_reason_t
impl PartialOrd for hv_exit_reason_t
impl Copy for hv_exit_reason_t
impl Eq for hv_exit_reason_t
impl StructuralPartialEq for hv_exit_reason_t
Auto Trait Implementations§
impl Freeze for hv_exit_reason_t
impl RefUnwindSafe for hv_exit_reason_t
impl Send for hv_exit_reason_t
impl Sync for hv_exit_reason_t
impl Unpin for hv_exit_reason_t
impl UnwindSafe for hv_exit_reason_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more