Type Alias virConnectDomainEventCallback

Source
pub type virConnectDomainEventCallback = Option<extern "C" fn(conn: virConnectPtr, dom: virDomainPtr, event: c_int, detail: c_int, opaque: *mut c_void) -> c_int>;

Aliased Type§

pub enum virConnectDomainEventCallback {
    None,
    Some(extern "C" fn(*mut Struct__virConnect, *mut Struct__virDomain, i32, i32, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(*mut Struct__virConnect, *mut Struct__virDomain, i32, i32, *mut c_void) -> i32)

Some value of type T.