coap_response_handler_t

Type Alias coap_response_handler_t 

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.