Trait OutBHandlerCaller

Source
pub trait OutBHandlerCaller: Sync + Send {
    // Required method
    fn call(&mut self, port: u16, payload: u32) -> Result<()>;
}
Expand description

The trait representing custom logic to handle the case when a Hypervisor’s virtual CPU (vCPU) informs Hyperlight the guest has initiated an outb operation.

Required Methods§

Source

fn call(&mut self, port: u16, payload: u32) -> Result<()>

Function that gets called when an outb operation has occurred.

Implementors§