riot_sys

Type Alias gnrc_sock_reg_t

Source
pub type gnrc_sock_reg_t = gnrc_sock_reg;
Expand description

@brief sock @ref net_gnrc_netreg info @internal

Aliased Type§

struct gnrc_sock_reg_t {
    pub entry: gnrc_netreg_entry,
    pub mbox: mbox_t,
    pub mbox_queue: [msg_t; 8],
    pub netreg_cb: gnrc_netreg_entry_cbd_t,
    pub async_cb: gnrc_sock_reg__bindgen_ty_1,
    pub async_cb_arg: *mut c_void,
    pub async_ctx: sock_async_ctx_t,
}

Fields§

§entry: gnrc_netreg_entry

< @ref net_gnrc_netreg entry for mbox

§mbox: mbox_t

< @ref core_mbox target for the sock

§mbox_queue: [msg_t; 8]

< queue for gnrc_sock_reg_t::mbox

§netreg_cb: gnrc_netreg_entry_cbd_t

< netreg callback

§async_cb: gnrc_sock_reg__bindgen_ty_1§async_cb_arg: *mut c_void

< asynchronous callback argument

§async_ctx: sock_async_ctx_t

< asynchronous event context

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

Trait Implementations

Source§

impl Clone for gnrc_sock_reg

Source§

fn clone(&self) -> gnrc_sock_reg

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 gnrc_sock_reg

Source§

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

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

impl Default for gnrc_sock_reg

Source§

fn default() -> Self

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

impl Copy for gnrc_sock_reg