DADiskRenameCallback

Type Alias DADiskRenameCallback 

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

Type of the callback function used by DADiskRename.

§Parameters

  • disk - The disk object.
  • dissenter - A dissenter object on failure or NULL on success.
  • context - The user-defined context parameter given to the rename function.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.