Struct project2::pio::PioHandlerDummy
source · pub struct PioHandlerDummy;
Expand description
emulation of the device that prints the port & direction.
Trait Implementations§
source§impl PioHandler for PioHandlerDummy
impl PioHandler for PioHandlerDummy
source§fn handle(
&self,
port: u16,
direction: Direction,
_p: &dyn Probe,
_generic_vcpu_state: &mut GenericVCpuState<'_>
) -> Result<VmexitResult, VmError>
fn handle( &self, port: u16, direction: Direction, _p: &dyn Probe, _generic_vcpu_state: &mut GenericVCpuState<'_> ) -> Result<VmexitResult, VmError>
handle I/O instructions on the device indicated by the port with the operands included in direction.
Auto Trait Implementations§
impl RefUnwindSafe for PioHandlerDummy
impl Send for PioHandlerDummy
impl Sync for PioHandlerDummy
impl Unpin for PioHandlerDummy
impl UnwindSafe for PioHandlerDummy
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