Enum applevisor_sys::hv_exit_reason_t
source · #[repr(C)]
pub enum hv_exit_reason_t {
HV_EXIT_REASON_CANCELED,
HV_EXIT_REASON_EXCEPTION,
HV_EXIT_REASON_VTIMER_ACTIVATED,
HV_EXIT_REASON_UNKNOWN,
}Expand description
The type that describes the event that triggered a guest exit to the host.
Variants
HV_EXIT_REASON_CANCELED
The value that identifies exits requested by exit handler on the host.
HV_EXIT_REASON_EXCEPTION
The value that identifies traps caused by the guest operations.
HV_EXIT_REASON_VTIMER_ACTIVATED
The value that identifies when the virtual timer enters the pending state.
HV_EXIT_REASON_UNKNOWN
The value that identifies unexpected exits.
Trait Implementations
sourceimpl Clone for hv_exit_reason_t
impl Clone for hv_exit_reason_t
sourcefn clone(&self) -> hv_exit_reason_t
fn clone(&self) -> hv_exit_reason_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for hv_exit_reason_t
impl Debug for hv_exit_reason_t
sourceimpl Hash for hv_exit_reason_t
impl Hash for hv_exit_reason_t
sourceimpl Ord for hv_exit_reason_t
impl Ord for hv_exit_reason_t
sourcefn cmp(&self, other: &hv_exit_reason_t) -> Ordering
fn cmp(&self, other: &hv_exit_reason_t) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<hv_exit_reason_t> for hv_exit_reason_t
impl PartialEq<hv_exit_reason_t> for hv_exit_reason_t
sourcefn eq(&self, other: &hv_exit_reason_t) -> bool
fn eq(&self, other: &hv_exit_reason_t) -> bool
sourceimpl PartialOrd<hv_exit_reason_t> for hv_exit_reason_t
impl PartialOrd<hv_exit_reason_t> for hv_exit_reason_t
sourcefn partial_cmp(&self, other: &hv_exit_reason_t) -> Option<Ordering>
fn partial_cmp(&self, other: &hv_exit_reason_t) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for hv_exit_reason_t
impl Eq for hv_exit_reason_t
impl StructuralEq for hv_exit_reason_t
impl StructuralPartialEq for hv_exit_reason_t
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more