IOUSBIsocCompletionAction

Type Alias IOUSBIsocCompletionAction 

Source
pub type IOUSBIsocCompletionAction = Option<unsafe extern "C-unwind" fn(*mut c_void, *mut c_void, IOReturn, *mut IOUSBIsocFrame)>;
Available on crate features USB and usb only.
Expand description

Function called when Isochronous USB I/O completes.

Parameter target: The target specified in the IOUSBIsocCompletionn struct.

Parameter parameter: The parameter specified in the IOUSBIsocCompletion struct.

Parameter status: Completion status.

Parameter pFrames: Pointer to the frame list containing the status for each frame transferred.

See also Apple’s documentation

Aliased Type§

pub enum IOUSBIsocCompletionAction {
    None,
    Some(unsafe extern "C-unwind" fn(*mut c_void, *mut c_void, i32, *mut IOUSBIsocFrame)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C-unwind" fn(*mut c_void, *mut c_void, i32, *mut IOUSBIsocFrame))

Some value of type T.