Struct applevisor_sys::hv_vcpu_exit_t
source · #[repr(C)]pub struct hv_vcpu_exit_t {
pub reason: hv_exit_reason_t,
pub exception: hv_vcpu_exit_exception_t,
}Expand description
Information about an exit from the vCPU to the host.
Fields
reason: hv_exit_reason_tInformation about an exit from the vcpu to the host.
exception: hv_vcpu_exit_exception_tInformation about an exit exception from the vcpu to the host.
Trait Implementations
sourceimpl Clone for hv_vcpu_exit_t
impl Clone for hv_vcpu_exit_t
sourcefn clone(&self) -> hv_vcpu_exit_t
fn clone(&self) -> hv_vcpu_exit_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_vcpu_exit_t
impl Debug for hv_vcpu_exit_t
sourceimpl Hash for hv_vcpu_exit_t
impl Hash for hv_vcpu_exit_t
sourceimpl Ord for hv_vcpu_exit_t
impl Ord for hv_vcpu_exit_t
sourcefn cmp(&self, other: &hv_vcpu_exit_t) -> Ordering
fn cmp(&self, other: &hv_vcpu_exit_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_vcpu_exit_t> for hv_vcpu_exit_t
impl PartialEq<hv_vcpu_exit_t> for hv_vcpu_exit_t
sourcefn eq(&self, other: &hv_vcpu_exit_t) -> bool
fn eq(&self, other: &hv_vcpu_exit_t) -> bool
sourceimpl PartialOrd<hv_vcpu_exit_t> for hv_vcpu_exit_t
impl PartialOrd<hv_vcpu_exit_t> for hv_vcpu_exit_t
sourcefn partial_cmp(&self, other: &hv_vcpu_exit_t) -> Option<Ordering>
fn partial_cmp(&self, other: &hv_vcpu_exit_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_vcpu_exit_t
impl Eq for hv_vcpu_exit_t
impl StructuralEq for hv_vcpu_exit_t
impl StructuralPartialEq for hv_vcpu_exit_t
Auto Trait Implementations
impl RefUnwindSafe for hv_vcpu_exit_t
impl Send for hv_vcpu_exit_t
impl Sync for hv_vcpu_exit_t
impl Unpin for hv_vcpu_exit_t
impl UnwindSafe for hv_vcpu_exit_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