Struct project3::vmexit::mmio::Controller
source · pub struct Controller { /* private fields */ }
Expand description
Mmio vmexit controller.
Implementations§
source§impl Controller
impl Controller
sourcepub fn register(&mut self, p: impl MmioHandler + 'static)
pub fn register(&mut self, p: impl MmioHandler + 'static)
Add a mmio region to the controller.
Trait Implementations§
source§impl VmexitController for Controller
impl VmexitController for Controller
source§fn handle<P: Probe>(
&mut self,
reason: ExitReason,
p: &mut P,
generic_vcpu_state: &mut GenericVCpuState<'_>
) -> Result<VmexitResult, VmError>
fn handle<P: Probe>( &mut self, reason: ExitReason, p: &mut P, generic_vcpu_state: &mut GenericVCpuState<'_> ) -> Result<VmexitResult, VmError>
Handle the vmexit on this controller. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl !UnwindSafe for Controller
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,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more