Trait MemAccessHandlerCaller

Source
pub trait MemAccessHandlerCaller: Send {
    // Required method
    fn call(&mut self) -> Result<()>;
}
Expand description

The trait representing custom logic to handle the case when a Hypervisor’s virtual CPU (vCPU) informs Hyperlight a memory access outside the designated address space has occurred.

Required Methods§

Source

fn call(&mut self) -> Result<()>

Function that gets called when unexpected memory access has occurred.

Implementors§