pub enum SignalQuality {
Poor,
Fair,
Good,
Excellent,
}Expand description
Signal strength quality levels based on RSSI values.
Variants§
Poor
Signal too weak for reliable operation (< -85 dBm).
Fair
Usable but may have issues (-85 to -75 dBm).
Good
Good signal strength (-75 to -60 dBm).
Excellent
Excellent signal strength (> -60 dBm).
Implementations§
Source§impl SignalQuality
impl SignalQuality
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Get a human-readable description of the signal quality.
Sourcepub fn recommended_read_delay(&self) -> Duration
pub fn recommended_read_delay(&self) -> Duration
Get recommended read delay for history downloads based on signal quality.
Trait Implementations§
Source§impl Clone for SignalQuality
impl Clone for SignalQuality
Source§fn clone(&self) -> SignalQuality
fn clone(&self) -> SignalQuality
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 SignalQuality
impl Debug for SignalQuality
Source§impl Ord for SignalQuality
impl Ord for SignalQuality
Source§fn cmp(&self, other: &SignalQuality) -> Ordering
fn cmp(&self, other: &SignalQuality) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SignalQuality
impl PartialEq for SignalQuality
Source§impl PartialOrd for SignalQuality
impl PartialOrd for SignalQuality
impl Copy for SignalQuality
impl Eq for SignalQuality
impl StructuralPartialEq for SignalQuality
Auto Trait Implementations§
impl Freeze for SignalQuality
impl RefUnwindSafe for SignalQuality
impl Send for SignalQuality
impl Sync for SignalQuality
impl Unpin for SignalQuality
impl UnwindSafe for SignalQuality
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