pub type otPingSenderStatisticsCallback = Option<unsafe extern "C" fn(aStatistics: *const otPingSenderStatistics, aContext: *mut c_void)>;
Expand description

Pointer type specifies the callback to report the ping statistics.

@param[in] aStatistics A pointer to a otPingSenderStatistics containing info about the received ping statistics. @param[in] aContext A pointer to application-specific context.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.