Type Alias qemu_plugin::VCPUIdleCallback

source ·
pub type VCPUIdleCallback = qemu_plugin_vcpu_simple_cb_t;
Expand description

A callback that can be called many times, each time a vCPU idles

Arguments

  • id: The plugin ID
  • vcpu_index: The index of the vCPU that idled

Aliased Type§

enum VCPUIdleCallback {
    None,
    Some(unsafe extern "C" fn(_: u64, _: u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u64, _: u32))

Some value of type T.