Struct Run

Source
#[repr(C)]
pub struct Run { pub exit_reason: Exit, pub ready_for_interrupt_injection: u8, pub if_flag: u8, pub flags: u16, pub cr8: u64, pub apic_base: u64, pub kvm_valid_regs: u64, pub kvm_dirty_regs: u64, pub s: Union_Unnamed26, /* private fields */ }
Expand description

Information about the reason run returned

Fields§

§exit_reason: Exit§ready_for_interrupt_injection: u8§if_flag: u8§flags: u16§cr8: u64§apic_base: u64§kvm_valid_regs: u64§kvm_dirty_regs: u64§s: Union_Unnamed26

Implementations§

Source§

impl Run

Source

pub fn hw(&self) -> *const Struct_Unnamed9

Source

pub fn hw_mut(&mut self) -> *mut Struct_Unnamed9

Source

pub fn fail_entry(&self) -> *const Struct_Unnamed10

Source

pub fn fail_entry_mut(&mut self) -> *mut Struct_Unnamed10

Source

pub fn ex(&self) -> *const Struct_Unnamed11

Source

pub fn ex_mut(&mut self) -> *mut Struct_Unnamed11

Source

pub fn io(&self) -> *const ExitIo

Source

pub fn io_mut(&mut self) -> *mut ExitIo

Source

pub fn debug(&self) -> *const Struct_Unnamed13

Source

pub fn debug_mut(&mut self) -> *mut Struct_Unnamed13

Source

pub fn mmio(&self) -> *const Struct_Unnamed14

Source

pub fn mmio_mut(&mut self) -> *mut Struct_Unnamed14

Source

pub fn hypercall(&self) -> *const Struct_Unnamed15

Source

pub fn hypercall_mut(&mut self) -> *mut Struct_Unnamed15

Source

pub fn tpr_access(&self) -> *const Struct_Unnamed16

Source

pub fn tpr_access_mut(&mut self) -> *mut Struct_Unnamed16

Source

pub fn s390_sieic(&self) -> *const Struct_Unnamed17

Source

pub fn s390_sieic_mut(&mut self) -> *mut Struct_Unnamed17

Source

pub fn s390_reset_flags(&self) -> *const u64

Source

pub fn s390_reset_flags_mut(&mut self) -> *mut u64

Source

pub fn s390_ucontrol(&self) -> *const Struct_Unnamed18

Source

pub fn s390_ucontrol_mut(&mut self) -> *mut Struct_Unnamed18

Source

pub fn dcr(&self) -> *const Struct_Unnamed19

Source

pub fn dcr_mut(&mut self) -> *mut Struct_Unnamed19

Source

pub fn internal(&self) -> *const Struct_Unnamed20

Source

pub fn internal_mut(&mut self) -> *mut Struct_Unnamed20

Source

pub fn osi(&self) -> *const Struct_Unnamed21

Source

pub fn osi_mut(&mut self) -> *mut Struct_Unnamed21

Source

pub fn papr_hcall(&self) -> *const Struct_Unnamed22

Source

pub fn papr_hcall_mut(&mut self) -> *mut Struct_Unnamed22

Source

pub fn s390_tsch(&self) -> *const Struct_Unnamed23

Source

pub fn s390_tsch_mut(&mut self) -> *mut Struct_Unnamed23

Source

pub fn epr(&self) -> *const Struct_Unnamed24

Source

pub fn epr_mut(&mut self) -> *mut Struct_Unnamed24

Source

pub fn system_event(&self) -> *const Struct_Unnamed25

Source

pub fn system_event_mut(&mut self) -> *mut Struct_Unnamed25

Trait Implementations§

Source§

impl Clone for Run

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Run

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Run

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for Run

Auto Trait Implementations§

§

impl Freeze for Run

§

impl RefUnwindSafe for Run

§

impl Send for Run

§

impl Sync for Run

§

impl Unpin for Run

§

impl UnwindSafe for Run

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.