Struct project2::vmexit::hypercall::Controller
source · pub struct Controller<H: HypercallAbi> { /* private fields */ }
Expand description
Hypercall vmexit controller.
Implementations§
source§impl<H: HypercallAbi> Controller<H>
impl<H: HypercallAbi> Controller<H>
Trait Implementations§
source§impl<H: HypercallAbi> VmexitController for Controller<H>
impl<H: HypercallAbi> VmexitController for Controller<H>
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<H> RefUnwindSafe for Controller<H>where H: RefUnwindSafe,
impl<H> Send for Controller<H>
impl<H> Sync for Controller<H>
impl<H> Unpin for Controller<H>where H: Unpin,
impl<H> UnwindSafe for Controller<H>where H: UnwindSafe,
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