IOUSBCompletionActionWithTimeStamp

Type Alias IOUSBCompletionActionWithTimeStamp 

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

Function called when USB I/O completes.

Parameter target: The target specified in the IOUSBCompletion struct.

Parameter parameter: The parameter specified in the IOUSBCompletion struct.

Parameter status: Completion status.

Parameter bufferSizeRemaining: Bytes left to be transferred.

Parameter timeStamp: Time at which the transaction was processed.

See also Apple’s documentation

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.