openthread_sys

Type Alias otDetachGracefullyCallback

Source
pub type otDetachGracefullyCallback = Option<unsafe extern "C" fn(aContext: *mut c_void)>;
Expand description

This callback informs the application that the detaching process has finished.

@param[in] aContext A pointer to application-specific context.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.