pub struct BandCapability {
pub band: WlanBand,
pub basic_rates: Vec<u8>,
pub ht_cap: Option<Box<HtCapabilities>>,
pub vht_cap: Option<Box<VhtCapabilities>>,
pub operating_channels: Vec<u8>,
}
Fields§
§band: WlanBand
The values of this struct apply to the band indicated in this field.
basic_rates: Vec<u8>
Basic rates supported in units of 500 kbit/s (as defined in IEEE Std 802.11-2016, 9.4.2.3), e.g., 0x02 represents 1 Mbps. The value returned by this type indicates all the non-HT rates the device supports transmitting and receiving.
ht_cap: Option<Box<HtCapabilities>>
§vht_cap: Option<Box<VhtCapabilities>>
§operating_channels: Vec<u8>
A list of operating channels considered valid by hardware, in the context of regulatory information known to the device driver, at the time of its construction during iface creation. In this context, an operating channel means a channel which APs may transmit Beacon frames on in the current regulatory domain.
This list should be used to determine efficacy of subsequent requests to scan a subset of channels using the iface, or to determine which operating channel to use when starting an AP.
Trait Implementations§
Source§impl Clone for BandCapability
impl Clone for BandCapability
Source§fn clone(&self) -> BandCapability
fn clone(&self) -> BandCapability
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BandCapability
impl Debug for BandCapability
Source§impl<D: ResourceDialect> Decode<BandCapability, D> for BandCapability
impl<D: ResourceDialect> Decode<BandCapability, D> for BandCapability
Source§impl<D: ResourceDialect> Encode<BandCapability, D> for &BandCapability
impl<D: ResourceDialect> Encode<BandCapability, D> for &BandCapability
Source§impl<D: ResourceDialect, T0: Encode<WlanBand, D>, T1: Encode<Vector<u8, 12>, D>, T2: Encode<Boxed<HtCapabilities>, D>, T3: Encode<Boxed<VhtCapabilities>, D>, T4: Encode<Vector<u8, 256>, D>> Encode<BandCapability, D> for (T0, T1, T2, T3, T4)
impl<D: ResourceDialect, T0: Encode<WlanBand, D>, T1: Encode<Vector<u8, 12>, D>, T2: Encode<Boxed<HtCapabilities>, D>, T3: Encode<Boxed<VhtCapabilities>, D>, T4: Encode<Vector<u8, 256>, D>> Encode<BandCapability, D> for (T0, T1, T2, T3, T4)
Source§impl PartialEq for BandCapability
impl PartialEq for BandCapability
Source§impl TypeMarker for BandCapability
impl TypeMarker for BandCapability
Source§type Owned = BandCapability
type Owned = BandCapability
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 BandCapability
impl ValueTypeMarker for BandCapability
Source§type Borrowed<'a> = &'a BandCapability
type Borrowed<'a> = &'a BandCapability
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for BandCapability
impl StructuralPartialEq for BandCapability
Auto Trait Implementations§
impl Freeze for BandCapability
impl RefUnwindSafe for BandCapability
impl Send for BandCapability
impl Sync for BandCapability
impl Unpin for BandCapability
impl UnwindSafe for BandCapability
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)