pub struct AssociateIndication {
pub peer_sta_address: [u8; 6],
pub capability_info: u16,
pub listen_interval: u16,
pub ssid: Option<Vec<u8>>,
pub rates: Vec<u8>,
pub rsne: Option<Vec<u8>>,
}
Fields§
§peer_sta_address: [u8; 6]
§capability_info: u16
§listen_interval: u16
§ssid: Option<Vec<u8>>
§rates: Vec<u8>
§rsne: Option<Vec<u8>>
Trait Implementations§
source§impl Clone for AssociateIndication
impl Clone for AssociateIndication
source§fn clone(&self) -> AssociateIndication
fn clone(&self) -> AssociateIndication
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 AssociateIndication
impl Debug for AssociateIndication
source§impl Decode<AssociateIndication> for AssociateIndication
impl Decode<AssociateIndication> for AssociateIndication
source§impl Encode<AssociateIndication> for &AssociateIndication
impl Encode<AssociateIndication> for &AssociateIndication
source§impl<T0: Encode<Array<u8, 6>>, T1: Encode<u16>, T2: Encode<u16>, T3: Encode<Optional<UnboundedVector<u8>>>, T4: Encode<UnboundedVector<u8>>, T5: Encode<Optional<UnboundedVector<u8>>>> Encode<AssociateIndication> for (T0, T1, T2, T3, T4, T5)
impl<T0: Encode<Array<u8, 6>>, T1: Encode<u16>, T2: Encode<u16>, T3: Encode<Optional<UnboundedVector<u8>>>, T4: Encode<UnboundedVector<u8>>, T5: Encode<Optional<UnboundedVector<u8>>>> Encode<AssociateIndication> for (T0, T1, T2, T3, T4, T5)
source§impl Hash for AssociateIndication
impl Hash for AssociateIndication
source§impl Ord for AssociateIndication
impl Ord for AssociateIndication
source§fn cmp(&self, other: &AssociateIndication) -> Ordering
fn cmp(&self, other: &AssociateIndication) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AssociateIndication> for AssociateIndication
impl PartialEq<AssociateIndication> for AssociateIndication
source§fn eq(&self, other: &AssociateIndication) -> bool
fn eq(&self, other: &AssociateIndication) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AssociateIndication> for AssociateIndication
impl PartialOrd<AssociateIndication> for AssociateIndication
source§fn partial_cmp(&self, other: &AssociateIndication) -> Option<Ordering>
fn partial_cmp(&self, other: &AssociateIndication) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for AssociateIndication
impl TypeMarker for AssociateIndication
§type Owned = AssociateIndication
type Owned = AssociateIndication
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 AssociateIndication
impl ValueTypeMarker for AssociateIndication
§type Borrowed<'a> = &'a <AssociateIndication as TypeMarker>::Owned
type Borrowed<'a> = &'a <AssociateIndication as TypeMarker>::Owned
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more