qemu_plugin_simple_cb_t

Type Alias qemu_plugin_simple_cb_t 

Source
pub type qemu_plugin_simple_cb_t = Option<unsafe extern "C" fn(id: qemu_plugin_id_t)>;
Expand description

typedef qemu_plugin_simple_cb_t - simple callback @id: the unique qemu_plugin_id_t

This callback passes no information aside from the unique @id.

Aliased Type§

pub enum qemu_plugin_simple_cb_t {
    None,
    Some(unsafe extern "C" fn(u64)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u64))

Some value of type T.