Struct fidl_fuchsia_wlan_mlme::ScanRequest
source · 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§
source§impl Clone for ScanRequest
impl Clone for ScanRequest
source§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 moresource§impl Debug for ScanRequest
impl Debug for ScanRequest
source§impl<D: ResourceDialect> Decode<ScanRequest, D> for ScanRequest
impl<D: ResourceDialect> Decode<ScanRequest, D> for ScanRequest
source§impl<D: ResourceDialect> Encode<ScanRequest, D> for &ScanRequest
impl<D: ResourceDialect> Encode<ScanRequest, D> for &ScanRequest
source§impl<D: ResourceDialect, T0: Encode<u64, D>, T1: Encode<ScanTypes, D>, T2: Encode<Vector<u8, 256>, D>, T3: Encode<UnboundedVector<Vector<u8, 32>>, D>, T4: Encode<u32, D>, T5: Encode<u32, D>, T6: Encode<u32, D>> Encode<ScanRequest, D> for (T0, T1, T2, T3, T4, T5, T6)
impl<D: ResourceDialect, T0: Encode<u64, D>, T1: Encode<ScanTypes, D>, T2: Encode<Vector<u8, 256>, D>, T3: Encode<UnboundedVector<Vector<u8, 32>>, D>, T4: Encode<u32, D>, T5: Encode<u32, D>, T6: Encode<u32, D>> Encode<ScanRequest, D> for (T0, T1, T2, T3, T4, T5, T6)
source§impl Hash for ScanRequest
impl Hash for ScanRequest
source§impl Ord for ScanRequest
impl Ord for ScanRequest
source§fn cmp(&self, other: &ScanRequest) -> Ordering
fn cmp(&self, other: &ScanRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ScanRequest
impl PartialEq for ScanRequest
source§fn eq(&self, other: &ScanRequest) -> bool
fn eq(&self, other: &ScanRequest) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ScanRequest
impl PartialOrd for ScanRequest
source§fn partial_cmp(&self, other: &ScanRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &ScanRequest) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for ScanRequest
impl TypeMarker for ScanRequest
§type Owned = ScanRequest
type Owned = ScanRequest
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
source§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.source§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 moreimpl Eq for ScanRequest
impl Persistable for ScanRequest
impl StructuralPartialEq for ScanRequest
Auto Trait Implementations§
impl Freeze for ScanRequest
impl RefUnwindSafe for ScanRequest
impl Send for ScanRequest
impl Sync for ScanRequest
impl Unpin for ScanRequest
impl UnwindSafe for ScanRequest
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)