Struct project2::pio::PioHandlerPrint
source · pub struct PioHandlerPrint;
Expand description
emulation of the device that print the character of the operand in Out instruction.
Trait Implementations§
source§impl PioHandler for PioHandlerPrint
impl PioHandler for PioHandlerPrint
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 PioHandlerPrint
impl Send for PioHandlerPrint
impl Sync for PioHandlerPrint
impl Unpin for PioHandlerPrint
impl UnwindSafe for PioHandlerPrint
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