DADiskAppearedCallback

Type Alias DADiskAppearedCallback 

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

Type of the callback function used by DARegisterDiskAppearedCallback.

§Parameters

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.