vmi_core

Type Alias VmiEventCallback

Source
pub type VmiEventCallback<'a, Arch> = dyn FnMut(&VmiEvent<Arch>) -> VmiEventResponse<Arch> + 'a;
Expand description

A callback function type for handling VMI events.

This type represents a function or closure that is called when a VMI event occurs. The VmiEventResponse returned by the callback determines how the event is handled.