riot_sys

Type Alias sock_udp_t

Source
pub type sock_udp_t = sock_udp;
Expand description

@brief UDP sock type @internal

Aliased Type§

struct sock_udp_t {
    pub reg: gnrc_sock_reg,
    pub local: _sock_tl_ep,
    pub remote: _sock_tl_ep,
    pub flags: u16,
}

Fields§

§reg: gnrc_sock_reg

< netreg info

§local: _sock_tl_ep

< local end-point

§remote: _sock_tl_ep

< remote end-point

§flags: u16

< option flags

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: 200 bytes

Trait Implementations

Source§

impl Clone for sock_udp

Source§

fn clone(&self) -> sock_udp

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for sock_udp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for sock_udp

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for sock_udp