Type Alias riot_sys::coap_request_ctx_t

source ·
pub type coap_request_ctx_t = _coap_request_ctx;
Expand description

@brief CoAP resource request handler context @internal

Aliased Type§

struct coap_request_ctx_t {
    pub resource: *const coap_resource_t,
    pub remote: *mut _sock_tl_ep,
    pub local: *mut _sock_tl_ep,
    pub tl_type: u32,
}

Fields§

§resource: *const coap_resource_t

< resource of the request

§remote: *mut _sock_tl_ep

< remote endpoint of the request

§local: *mut _sock_tl_ep

< local endpoint of the request

§tl_type: u32

@brief transport the packet was received over @see @ref gcoap_socket_type_t for values. @note @ref gcoap_socket_type_t can not be used, as this would cyclically include the @ref net_gcoap header.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes