openthread_sys

Type Alias otNetworkTimeSyncCallbackFn

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

Pointer is called when a network time sync or status change occurs.

Aliased Type§

enum otNetworkTimeSyncCallbackFn {
    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.