pub enum KvmExitReason {
Io,
Mmio,
Hlt,
Shutdown,
InternalError,
Unknown(u32),
}Expand description
VM exit reason from KVM run
Variants§
Io
I/O port access
Mmio
Memory-mapped I/O access
Hlt
HLT instruction executed
Shutdown
VM shutdown requested
InternalError
Internal KVM error
Unknown(u32)
Unknown exit reason
Trait Implementations§
Source§impl Clone for KvmExitReason
impl Clone for KvmExitReason
Source§fn clone(&self) -> KvmExitReason
fn clone(&self) -> KvmExitReason
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KvmExitReason
impl Debug for KvmExitReason
Source§impl PartialEq for KvmExitReason
impl PartialEq for KvmExitReason
impl Copy for KvmExitReason
impl Eq for KvmExitReason
impl StructuralPartialEq for KvmExitReason
Auto Trait Implementations§
impl Freeze for KvmExitReason
impl RefUnwindSafe for KvmExitReason
impl Send for KvmExitReason
impl Sync for KvmExitReason
impl Unpin for KvmExitReason
impl UnwindSafe for KvmExitReason
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)