Type Alias OutBHandlerWrapper

Source
pub type OutBHandlerWrapper = Arc<Mutex<dyn OutBHandlerCaller>>;
Expand description

A convenient type representing a common way OutBHandler 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_outb in Sandbox takes a &mut self).

Aliased Typeยง

struct OutBHandlerWrapper { /* private fields */ }