pub enum PhyStrategy {
Fixed(BlePhy),
Adaptive {
rssi_high_threshold: i8,
rssi_low_threshold: i8,
hysteresis_db: u8,
},
MaxRange,
MaxThroughput,
}Expand description
PHY selection strategy
Variants§
Fixed(BlePhy)
Use a fixed PHY
Adaptive
Adaptive PHY selection based on RSSI
Fields
MaxRange
Always use maximum range (Coded S=8)
MaxThroughput
Always use maximum throughput (2M)
Trait Implementations§
Source§impl Clone for PhyStrategy
impl Clone for PhyStrategy
Source§fn clone(&self) -> PhyStrategy
fn clone(&self) -> PhyStrategy
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 PhyStrategy
impl Debug for PhyStrategy
Auto Trait Implementations§
impl Freeze for PhyStrategy
impl RefUnwindSafe for PhyStrategy
impl Send for PhyStrategy
impl Sync for PhyStrategy
impl Unpin for PhyStrategy
impl UnwindSafe for PhyStrategy
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