Struct ScanRequest
pub struct ScanRequest {
pub txn_id: u64,
pub scan_type: ScanTypes,
pub channel_list: Vec<u8>,
pub ssid_list: Vec<Vec<u8>>,
pub probe_delay: u32,
pub min_channel_time: u32,
pub max_channel_time: u32,
}
Fields§
§txn_id: u64
§scan_type: ScanTypes
§channel_list: Vec<u8>
List of channels to scan on. An empty list of channels will cause a scan request to immediately return a ScanEnd with code INVALID_ARGS.
Invalid channel numbers will be silently ignored. The validity of a channel number depends on the current regulatory region, and MLME does not control or know this setting.
ssid_list: Vec<Vec<u8>>
List of SSIDs to scan for. An empty list of ssids is the same as specifying a list containing only the wildcard SSID.
There is no limit on the number of SSIDs specified. A large number of SSIDs may result in extended scan times because of hardware limitations on the number of SSIDs permitted per scan request and the technical limitation in IEEE 802.11-2016 that limits the number of SSIDs in a single Probe Request frame to ieee80211.SSID_LIST_MAX SSIDs.
probe_delay: u32
§min_channel_time: u32
§max_channel_time: u32
Trait Implementations§
§impl Clone for ScanRequest
impl Clone for ScanRequest
§fn clone(&self) -> ScanRequest
fn clone(&self) -> ScanRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ScanRequest
impl Debug for ScanRequest
§impl<D> Decode<ScanRequest, D> for ScanRequestwhere
D: ResourceDialect,
impl<D> Decode<ScanRequest, D> for ScanRequestwhere
D: ResourceDialect,
§fn new_empty() -> ScanRequest
fn new_empty() -> ScanRequest
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<ScanRequest, D> for &ScanRequestwhere
D: ResourceDialect,
impl<D> Encode<ScanRequest, D> for &ScanRequestwhere
D: ResourceDialect,
§impl Hash for ScanRequest
impl Hash for ScanRequest
§impl Ord for ScanRequest
impl Ord for ScanRequest
§impl PartialEq for ScanRequest
impl PartialEq for ScanRequest
§impl PartialOrd for ScanRequest
impl PartialOrd for ScanRequest
§impl TypeMarker for ScanRequest
impl TypeMarker for ScanRequest
§type Owned = ScanRequest
type Owned = ScanRequest
§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.§impl ValueTypeMarker for ScanRequest
impl ValueTypeMarker for ScanRequest
§type Borrowed<'a> = &'a ScanRequest
type Borrowed<'a> = &'a ScanRequest
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<ScanRequest as TypeMarker>::Owned,
) -> <ScanRequest as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<ScanRequest as TypeMarker>::Owned, ) -> <ScanRequest as ValueTypeMarker>::Borrowed<'_>
&Self::Owned
to Self::Borrowed
.