pub struct RoamResult {
pub bssid: [u8; 6],
pub status_code: StatusCode,
pub original_association_maintained: bool,
pub bss_description: Option<Box<BssDescription>>,
pub disconnect_info: Option<Box<DisconnectInfo>>,
pub is_credential_rejected: bool,
}
Expand description
Result of a roam attempt.
Fields§
§bssid: [u8; 6]
BSSID of the selected BSS for this roam attempt.
status_code: StatusCode
§original_association_maintained: bool
Whether the original BSS association has been maintained through the roam attempt.
A successful roam always incurs disassociation from the original BSS, so if status_code
is
success then this field must be set to false; a roam failure typically incurs disassociation
from the original BSS, but may not in some cases (e.g. in some Fast BSS Transition scenarios).
bss_description: Option<Box<BssDescription>>
§disconnect_info: Option<Box<DisconnectInfo>>
If the roam attempt failed and the original association was not maintained, this field must be populated; otherwise this field must be empty.
is_credential_rejected: bool
is_credential_rejected
is true if roam failure is likely due to wrong credential.
Policy may use this to determine whether to decide whether to roam to this BSS in the future.
Trait Implementations§
Source§impl Clone for RoamResult
impl Clone for RoamResult
Source§fn clone(&self) -> RoamResult
fn clone(&self) -> RoamResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RoamResult
impl Debug for RoamResult
Source§impl<D: ResourceDialect> Decode<RoamResult, D> for RoamResult
impl<D: ResourceDialect> Decode<RoamResult, D> for RoamResult
Source§impl<D: ResourceDialect> Encode<RoamResult, D> for &RoamResult
impl<D: ResourceDialect> Encode<RoamResult, D> for &RoamResult
Source§impl<D: ResourceDialect, T0: Encode<Array<u8, 6>, D>, T1: Encode<StatusCode, D>, T2: Encode<bool, D>, T3: Encode<Boxed<BssDescription>, D>, T4: Encode<Boxed<DisconnectInfo>, D>, T5: Encode<bool, D>> Encode<RoamResult, D> for (T0, T1, T2, T3, T4, T5)
impl<D: ResourceDialect, T0: Encode<Array<u8, 6>, D>, T1: Encode<StatusCode, D>, T2: Encode<bool, D>, T3: Encode<Boxed<BssDescription>, D>, T4: Encode<Boxed<DisconnectInfo>, D>, T5: Encode<bool, D>> Encode<RoamResult, D> for (T0, T1, T2, T3, T4, T5)
Source§impl PartialEq for RoamResult
impl PartialEq for RoamResult
Source§impl TypeMarker for RoamResult
impl TypeMarker for RoamResult
Source§type Owned = RoamResult
type Owned = RoamResult
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 RoamResult
impl ValueTypeMarker for RoamResult
Source§type Borrowed<'a> = &'a RoamResult
type Borrowed<'a> = &'a RoamResult
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for RoamResult
impl StructuralPartialEq for RoamResult
Auto Trait Implementations§
impl Freeze for RoamResult
impl RefUnwindSafe for RoamResult
impl Send for RoamResult
impl Sync for RoamResult
impl Unpin for RoamResult
impl UnwindSafe for RoamResult
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
)