Trait wlancfg_lib::telemetry::DisconnectSourceExt
source · pub trait DisconnectSourceExt {
// Required methods
fn inspect_string(&self) -> String;
fn flattened_reason_code(&self) -> u32;
fn cobalt_reason_code(&self) -> u16;
fn locally_initiated(&self) -> bool;
}
Required Methods§
fn inspect_string(&self) -> String
fn flattened_reason_code(&self) -> u32
fn cobalt_reason_code(&self) -> u16
fn locally_initiated(&self) -> bool
Implementations on Foreign Types§
source§impl DisconnectSourceExt for DisconnectSource
impl DisconnectSourceExt for DisconnectSource
source§fn flattened_reason_code(&self) -> u32
fn flattened_reason_code(&self) -> u32
If disconnect comes from AP, then get the 802.11 reason code. If disconnect comes from MLME, return (1u32 << 17) + reason code. If disconnect comes from user, return (1u32 << 16) + user disconnect reason. This is mainly used for metric.