pub type DADiskClaimCallback = 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 DADiskClaim().
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 claim function.
See also Apple’s documentation
Aliased Type§
pub enum DADiskClaimCallback {
None,
Some(unsafe extern "C-unwind" fn(NonNull<DADisk>, *const DADissenter, *mut c_void)),
}