pub struct XenMonitor { /* private fields */ }
Implementations§
Source§impl XenMonitor
impl XenMonitor
pub fn channel(&self) -> Result<XenEventChannelPort, XenError>
pub fn port(&self) -> u32
pub fn resume(&self) -> Result<(), XenError>
pub fn get_capabilities(&self) -> Result<u32, XenError>
pub fn write_ctrlreg( &self, index: VmEventCtrlReg, enable: bool, sync: bool, bitmask: u64, onchangeonly: bool, ) -> Result<(), XenError>
pub fn mov_to_msr( &self, msr: u32, enable: bool, onchangeonly: bool, ) -> Result<(), XenError>
pub fn singlestep(&self, singlestep: bool) -> Result<(), XenError>
pub fn software_breakpoint(&self, enable: bool) -> Result<(), XenError>
pub fn descriptor_access(&self, enable: bool) -> Result<(), XenError>
pub fn guest_request( &self, enable: bool, sync: bool, allow_userspace: bool, ) -> Result<(), XenError>
pub fn inguest_pagefault(&self, disable: bool) -> Result<(), XenError>
pub fn debug_exceptions(&self, enable: bool, sync: bool) -> Result<(), XenError>
pub fn cpuid(&self, enable: bool) -> Result<(), XenError>
pub fn privileged_call(&self, enable: bool) -> Result<(), XenError>
pub fn emul_unimplemented(&self, enable: bool) -> Result<(), XenError>
pub fn vmexit(&self, enable: bool, sync: bool) -> Result<(), XenError>
pub fn io(&self, enable: bool) -> Result<(), XenError>
pub fn emulate_each_rep(&self, enable: bool) -> Result<(), XenError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XenMonitor
impl RefUnwindSafe for XenMonitor
impl !Send for XenMonitor
impl !Sync for XenMonitor
impl Unpin for XenMonitor
impl UnwindSafe for XenMonitor
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