pub type otCommissionerStateCallback = Option<unsafe extern "C" fn(aState: otCommissionerState, aContext: *mut c_void)>;
Expand description

Pointer is called whenever the commissioner state changes.

@param[in] aState The Commissioner state. @param[in] aContext A pointer to application-specific context.

Aliased Type§

enum otCommissionerStateCallback {
    None,
    Some(unsafe extern "C" fn(_: u32, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u32, _: *mut c_void))

Some value of type T.