openthread_sys

Type Alias otPingSenderReplyCallback

Source
pub type otPingSenderReplyCallback = Option<unsafe extern "C" fn(aReply: *const otPingSenderReply, aContext: *mut c_void)>;
Expand description

Pointer type specifies the callback to notify receipt of a ping reply.

@param[in] aReply A pointer to a otPingSenderReply containing info about the received ping reply. @param[in] aContext A pointer to application-specific context.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.