DADiskDescriptionChangedCallback

Type Alias DADiskDescriptionChangedCallback 

Source
pub type DADiskDescriptionChangedCallback = Option<unsafe extern "C" fn(disk: DADiskRef, keys: CFArrayRef, context: *mut c_void)>;
Expand description

Type of the callback function used by DARegisterDiskDescriptionChangedCallback.

§Parameters

  • disk - A disk object.
  • keys - A list of changed keys.
  • context - The user-defined context parameter given to the registration function.

Aliased Type§

pub enum DADiskDescriptionChangedCallback {
    None,
    Some(unsafe extern "C" fn(*mut __DADisk, *const __CFArray, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut __DADisk, *const __CFArray, *mut c_void))

Some value of type T.