Struct riot_sys::sock_event_t
source · #[repr(C)]pub struct sock_event_t {
pub super_: event_t,
pub cb: sock_event_cb_t,
pub sock: *mut c_void,
pub cb_arg: *mut c_void,
pub type_: sock_async_flags_t,
}
Expand description
@brief Event definition for context scope
Fields§
§super_: event_t
< event structure that gets extended
cb: sock_event_cb_t
< callback
sock: *mut c_void
< generic pointer to a @ref net_sock object
cb_arg: *mut c_void
< callback argument
type_: sock_async_flags_t
< types of the event
Trait Implementations§
source§impl Clone for sock_event_t
impl Clone for sock_event_t
source§fn clone(&self) -> sock_event_t
fn clone(&self) -> sock_event_t
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 more