riot_sys

Type Alias netopt_scan_request_t

Source
pub type netopt_scan_request_t = netopt_scan_request;
Expand description

@brief Basic network scan request

Aliased Type§

struct netopt_scan_request_t {
    pub scan_cb: Option<unsafe extern "C" fn(_: *mut c_void, _: *const l2scan_list)>,
    pub channel: u16,
}

Fields§

§scan_cb: Option<unsafe extern "C" fn(_: *mut c_void, _: *const l2scan_list)>

< Scan result callback

§channel: u16

< Channel to scan

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

Trait Implementations

Source§

impl Clone for netopt_scan_request

Source§

fn clone(&self) -> netopt_scan_request

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 netopt_scan_request

Source§

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

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

impl Default for netopt_scan_request

Source§

fn default() -> netopt_scan_request

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

impl Copy for netopt_scan_request