pub struct PhyControllerConfig {
pub strategy: PhyStrategy,
pub min_samples_for_switch: usize,
pub rssi_window_size: usize,
pub switch_cooldown_ms: u64,
pub auto_switch: bool,
}Expand description
PHY controller configuration
Fields§
§strategy: PhyStrategyPHY selection strategy
min_samples_for_switch: usizeMinimum RSSI samples before considering switch
rssi_window_size: usizeRSSI averaging window size
switch_cooldown_ms: u64Minimum time between switches (milliseconds)
auto_switch: boolEnable automatic PHY switching
Trait Implementations§
Source§impl Clone for PhyControllerConfig
impl Clone for PhyControllerConfig
Source§fn clone(&self) -> PhyControllerConfig
fn clone(&self) -> PhyControllerConfig
Returns a duplicate 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 PhyControllerConfig
impl Debug for PhyControllerConfig
Auto Trait Implementations§
impl Freeze for PhyControllerConfig
impl RefUnwindSafe for PhyControllerConfig
impl Send for PhyControllerConfig
impl Sync for PhyControllerConfig
impl Unpin for PhyControllerConfig
impl UnwindSafe for PhyControllerConfig
Blanket Implementations§
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
Mutably borrows from an owned value. Read more