pub struct TopologyConfig {
pub max_children: u8,
pub max_connections: u8,
pub min_parent_rssi: i8,
pub max_beacon_age_ms: u64,
pub parent_timeout_ms: u64,
pub connect_timeout_ms: u64,
pub max_failures: u8,
pub failover_delay_ms: u64,
pub rssi_hysteresis: u8,
}Expand description
Configuration for topology management
Fields§
§max_children: u8Maximum children to accept
max_connections: u8Maximum total connections
min_parent_rssi: i8Minimum RSSI to consider for parent (-100 to 0 dBm)
max_beacon_age_ms: u64Maximum beacon age to consider (ms)
parent_timeout_ms: u64Parent supervision timeout (ms)
connect_timeout_ms: u64Connection attempt timeout (ms)
max_failures: u8Maximum connection failures before blacklisting
failover_delay_ms: u64Failover delay after parent loss (ms)
rssi_hysteresis: u8RSSI hysteresis for switching parents (dB)
Trait Implementations§
Source§impl Clone for TopologyConfig
impl Clone for TopologyConfig
Source§fn clone(&self) -> TopologyConfig
fn clone(&self) -> TopologyConfig
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 TopologyConfig
impl Debug for TopologyConfig
Auto Trait Implementations§
impl Freeze for TopologyConfig
impl RefUnwindSafe for TopologyConfig
impl Send for TopologyConfig
impl Sync for TopologyConfig
impl Unpin for TopologyConfig
impl UnwindSafe for TopologyConfig
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