pub struct RxInfo {
pub len: usize,
pub rssi: i16,
pub snr: Snr,
pub lqi: Option<NonZeroU8>,
}Expand description
Metadata returned with a received frame.
Fields§
§len: usizeNumber of bytes written into the receive buffer.
rssi: i16Received signal strength in dBm.
snr: SnrSignal-to-noise ratio in centibels.
lqi: Option<NonZeroU8>Optional link-quality indicator in a radio-specific normalized scale.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RxInfo
impl RefUnwindSafe for RxInfo
impl Send for RxInfo
impl Sync for RxInfo
impl Unpin for RxInfo
impl UnwindSafe for RxInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)