pub trait ClientProfile {
// Provided methods
fn extra_protocols(&self) -> &[&'static str] { ... }
fn extra_preset_buttons(&self, ui: &mut Ui, actions: &mut Vec<DeviceAction>) { ... }
fn label_format(&self, cur_bb_format: u32) -> Option<&'static str> { ... }
fn shows_he_stbc_field(&self) -> bool { ... }
}Expand description
Pluggable per-deployment behavior for the client.
Every method is defaulted so the open build (and any consumer that only
wants the standard behavior) can use StandardClientProfile directly.
Provided Methods§
Sourcefn extra_protocols(&self) -> &[&'static str]
fn extra_protocols(&self) -> &[&'static str]
Additional PHY-protocol option strings appended to the core set in the
protocol dropdown. Each is surfaced as crate::state::WifiProtocol::Ext
and round-trips to the server verbatim.
Render any extra CSI-preset buttons at the end of the CSI section.
Implementations push DeviceAction::SetCsiPreset (or any other action)
into actions; the caller routes them to the selected device.
Sourcefn label_format(&self, cur_bb_format: u32) -> Option<&'static str>
fn label_format(&self, cur_bb_format: u32) -> Option<&'static str>
Map a numeric cur_bb_format to a stable data_format label for the
Parquet export. None falls back to the decoded RxCsiFmt::as_str().
Sourcefn shows_he_stbc_field(&self) -> bool
fn shows_he_stbc_field(&self) -> bool
Whether the CSI section should surface the HE-STBC numeric field.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".