Type Alias MemAccessHandlerWrapper

Source
pub type MemAccessHandlerWrapper = Arc<Mutex<dyn MemAccessHandlerCaller>>;
Expand description

A convenient type representing a common way MemAccessHandler implementations are passed as parameters to functions

Note: This needs to be wrapped in a Mutex to be able to grab a mutable reference to the underlying data (i.e., handle_mmio_exit in Sandbox takes a &mut self).

Aliased Typeยง

struct MemAccessHandlerWrapper { /* private fields */ }