pub type DADiskMountCallback = Option<unsafe extern "C-unwind" fn(NonNull<DADisk>, *const DADissenter, *mut c_void)>;Available on crate features
DADisk and DADissenter only.Expand description
Type of the callback function used by DADiskMount().
Parameter disk: The disk object.
Parameter dissenter: A dissenter object on failure or NULL on success.
Parameter context: The user-defined context parameter given to the mount function.
If the disk is already mounted, then status code in the dissenter object will be set to kDAReturnBusy
See also Apple’s documentation
Aliased Type§
pub enum DADiskMountCallback {
None,
Some(unsafe extern "C-unwind" fn(NonNull<DADisk>, *const DADissenter, *mut c_void)),
}