coap_ping_handler_t

Type Alias coap_ping_handler_t 

Source
pub type coap_ping_handler_t = Option<unsafe extern "C" fn(session: *mut coap_session_t, received: *const coap_pdu_t, mid: coap_mid_t)>;

Aliased Type§

pub enum coap_ping_handler_t {
    None,
    Some(unsafe extern "C" fn(*mut coap_session_t, *const coap_pdu_t, i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut coap_session_t, *const coap_pdu_t, i32))

Some value of type T.