pub struct AssociateResponse {
pub peer_sta_address: [u8; 6],
pub result_code: AssociateResultCode,
pub association_id: u16,
pub capability_info: u16,
pub rates: Vec<u8>,
}
Fields§
§peer_sta_address: [u8; 6]
§result_code: AssociateResultCode
§association_id: u16
§capability_info: u16
§rates: Vec<u8>
Trait Implementations§
source§impl Clone for AssociateResponse
impl Clone for AssociateResponse
source§fn clone(&self) -> AssociateResponse
fn clone(&self) -> AssociateResponse
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 AssociateResponse
impl Debug for AssociateResponse
source§impl Decode<AssociateResponse> for AssociateResponse
impl Decode<AssociateResponse> for AssociateResponse
source§impl Encode<AssociateResponse> for &AssociateResponse
impl Encode<AssociateResponse> for &AssociateResponse
source§impl<T0: Encode<Array<u8, 6>>, T1: Encode<AssociateResultCode>, T2: Encode<u16>, T3: Encode<u16>, T4: Encode<UnboundedVector<u8>>> Encode<AssociateResponse> for (T0, T1, T2, T3, T4)
impl<T0: Encode<Array<u8, 6>>, T1: Encode<AssociateResultCode>, T2: Encode<u16>, T3: Encode<u16>, T4: Encode<UnboundedVector<u8>>> Encode<AssociateResponse> for (T0, T1, T2, T3, T4)
source§impl Hash for AssociateResponse
impl Hash for AssociateResponse
source§impl Ord for AssociateResponse
impl Ord for AssociateResponse
source§fn cmp(&self, other: &AssociateResponse) -> Ordering
fn cmp(&self, other: &AssociateResponse) -> 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<AssociateResponse> for AssociateResponse
impl PartialEq<AssociateResponse> for AssociateResponse
source§fn eq(&self, other: &AssociateResponse) -> bool
fn eq(&self, other: &AssociateResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AssociateResponse> for AssociateResponse
impl PartialOrd<AssociateResponse> for AssociateResponse
source§fn partial_cmp(&self, other: &AssociateResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &AssociateResponse) -> 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 AssociateResponse
impl TypeMarker for AssociateResponse
§type Owned = AssociateResponse
type Owned = AssociateResponse
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 AssociateResponse
impl ValueTypeMarker for AssociateResponse
§type Borrowed<'a> = &'a <AssociateResponse as TypeMarker>::Owned
type Borrowed<'a> = &'a <AssociateResponse 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