Struct fidl_fuchsia_wlan_tap::WlantapPhyConfig
source · pub struct WlantapPhyConfig {
pub sta_addr: [u8; 6],
pub mac_role: WlanMacRole,
pub supported_phys: Vec<WlanPhyType>,
pub hardware_capability: u32,
pub bands: Vec<BandInfo>,
pub name: String,
pub quiet: bool,
pub discovery_support: DiscoverySupport,
pub mac_sublayer_support: MacSublayerSupport,
pub security_support: SecuritySupport,
pub spectrum_management_support: SpectrumManagementSupport,
}
Expand description
Describes the capabilities of the fake wlantap-phy device to be created.
Fields§
§sta_addr: [u8; 6]
§mac_role: WlanMacRole
§supported_phys: Vec<WlanPhyType>
§hardware_capability: u32
§bands: Vec<BandInfo>
§name: String
§quiet: bool
§discovery_support: DiscoverySupport
§mac_sublayer_support: MacSublayerSupport
§security_support: SecuritySupport
§spectrum_management_support: SpectrumManagementSupport
Trait Implementations§
source§impl Clone for WlantapPhyConfig
impl Clone for WlantapPhyConfig
source§fn clone(&self) -> WlantapPhyConfig
fn clone(&self) -> WlantapPhyConfig
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 moresource§impl Debug for WlantapPhyConfig
impl Debug for WlantapPhyConfig
source§impl<D: ResourceDialect> Decode<WlantapPhyConfig, D> for WlantapPhyConfig
impl<D: ResourceDialect> Decode<WlantapPhyConfig, D> for WlantapPhyConfig
source§impl<D: ResourceDialect> Encode<WlantapPhyConfig, D> for &WlantapPhyConfig
impl<D: ResourceDialect> Encode<WlantapPhyConfig, D> for &WlantapPhyConfig
source§impl<D: ResourceDialect, T0: Encode<Array<u8, 6>, D>, T1: Encode<WlanMacRole, D>, T2: Encode<Vector<WlanPhyType, 64>, D>, T3: Encode<u32, D>, T4: Encode<Vector<BandInfo, 8>, D>, T5: Encode<BoundedString<32>, D>, T6: Encode<bool, D>, T7: Encode<DiscoverySupport, D>, T8: Encode<MacSublayerSupport, D>, T9: Encode<SecuritySupport, D>, T10: Encode<SpectrumManagementSupport, D>> Encode<WlantapPhyConfig, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
impl<D: ResourceDialect, T0: Encode<Array<u8, 6>, D>, T1: Encode<WlanMacRole, D>, T2: Encode<Vector<WlanPhyType, 64>, D>, T3: Encode<u32, D>, T4: Encode<Vector<BandInfo, 8>, D>, T5: Encode<BoundedString<32>, D>, T6: Encode<bool, D>, T7: Encode<DiscoverySupport, D>, T8: Encode<MacSublayerSupport, D>, T9: Encode<SecuritySupport, D>, T10: Encode<SpectrumManagementSupport, D>> Encode<WlantapPhyConfig, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
source§impl PartialEq for WlantapPhyConfig
impl PartialEq for WlantapPhyConfig
source§fn eq(&self, other: &WlantapPhyConfig) -> bool
fn eq(&self, other: &WlantapPhyConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for WlantapPhyConfig
impl TypeMarker for WlantapPhyConfig
§type Owned = WlantapPhyConfig
type Owned = WlantapPhyConfig
The owned Rust type which this FIDL type decodes into.
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
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
Returns true if the memory layout of
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 WlantapPhyConfig
impl ValueTypeMarker for WlantapPhyConfig
§type Borrowed<'a> = &'a WlantapPhyConfig
type Borrowed<'a> = &'a WlantapPhyConfig
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for WlantapPhyConfig
impl StructuralPartialEq for WlantapPhyConfig
Auto Trait Implementations§
impl Freeze for WlantapPhyConfig
impl RefUnwindSafe for WlantapPhyConfig
impl Send for WlantapPhyConfig
impl Sync for WlantapPhyConfig
impl Unpin for WlantapPhyConfig
impl UnwindSafe for WlantapPhyConfig
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)