Struct fidl_fuchsia_wlan_mlme::ConnectRequest
source · pub struct ConnectRequest {
pub selected_bss: BssDescription,
pub connect_failure_timeout: u32,
pub auth_type: AuthenticationTypes,
pub sae_password: Vec<u8>,
pub wep_key: Option<Box<SetKeyDescriptor>>,
pub security_ie: Vec<u8>,
}
Fields§
§selected_bss: BssDescription
§connect_failure_timeout: u32
§auth_type: AuthenticationTypes
Additional parameters specific to the authentication exchange.
sae_password: Vec<u8>
§wep_key: Option<Box<SetKeyDescriptor>>
WEP key used in the authentication exchange. Only included for WEP security type.
security_ie: Vec<u8>
Additional parameters specific to the association exchange.
Trait Implementations§
source§impl Clone for ConnectRequest
impl Clone for ConnectRequest
source§fn clone(&self) -> ConnectRequest
fn clone(&self) -> ConnectRequest
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 ConnectRequest
impl Debug for ConnectRequest
source§impl Decode<ConnectRequest> for ConnectRequest
impl Decode<ConnectRequest> for ConnectRequest
source§impl Encode<ConnectRequest> for &ConnectRequest
impl Encode<ConnectRequest> for &ConnectRequest
source§impl<T0: Encode<BssDescription>, T1: Encode<u32>, T2: Encode<AuthenticationTypes>, T3: Encode<UnboundedVector<u8>>, T4: Encode<Boxed<SetKeyDescriptor>>, T5: Encode<UnboundedVector<u8>>> Encode<ConnectRequest> for (T0, T1, T2, T3, T4, T5)
impl<T0: Encode<BssDescription>, T1: Encode<u32>, T2: Encode<AuthenticationTypes>, T3: Encode<UnboundedVector<u8>>, T4: Encode<Boxed<SetKeyDescriptor>>, T5: Encode<UnboundedVector<u8>>> Encode<ConnectRequest> for (T0, T1, T2, T3, T4, T5)
source§impl PartialEq<ConnectRequest> for ConnectRequest
impl PartialEq<ConnectRequest> for ConnectRequest
source§fn eq(&self, other: &ConnectRequest) -> bool
fn eq(&self, other: &ConnectRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for ConnectRequest
impl TypeMarker for ConnectRequest
§type Owned = ConnectRequest
type Owned = ConnectRequest
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 ConnectRequest
impl ValueTypeMarker for ConnectRequest
§type Borrowed<'a> = &'a <ConnectRequest as TypeMarker>::Owned
type Borrowed<'a> = &'a <ConnectRequest 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