Struct riot_sys::_coap_request_ctx
source · #[repr(C)]pub struct _coap_request_ctx {
pub resource: *const coap_resource_t,
pub remote: *mut sock_udp_ep_t,
pub tl_type: u32,
}
Expand description
@brief CoAP resource request handler context @internal
Fields§
§resource: *const coap_resource_t
< resource of the request
remote: *mut sock_udp_ep_t
< remote 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.
Trait Implementations§
source§impl Clone for _coap_request_ctx
impl Clone for _coap_request_ctx
source§fn clone(&self) -> _coap_request_ctx
fn clone(&self) -> _coap_request_ctx
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for _coap_request_ctx
impl Debug for _coap_request_ctx
source§impl Default for _coap_request_ctx
impl Default for _coap_request_ctx
impl Copy for _coap_request_ctx
Auto Trait Implementations§
impl RefUnwindSafe for _coap_request_ctx
impl !Send for _coap_request_ctx
impl !Sync for _coap_request_ctx
impl Unpin for _coap_request_ctx
impl UnwindSafe for _coap_request_ctx
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more