pub struct RxSummary {
pub rssi_dbm: Option<i16>,
pub snr_centibels: Option<i16>,
pub lqi: Option<u8>,
pub hop_count: Option<u8>,
pub route_hints: Vec<RouterHint>,
pub source_authenticated: bool,
pub buffered_age_s: u32,
}Expand description
Radio observations for a received frame.
Fields§
§rssi_dbm: Option<i16>§snr_centibels: Option<i16>§lqi: Option<u8>§hop_count: Option<u8>Radio links the frame crossed to get here, counting the final one into this device. Absent for a frame source-routed without a trace route, whose hops nobody recorded.
route_hints: Vec<RouterHint>Intermediate-router hints in trace-route order: nearest us first, which is usable directly as a source route back.
source_authenticated: bool§buffered_age_s: u32Seconds the frame spent queued on the radio before delivery; zero for a live reception.
Implementations§
Source§impl RxSummary
impl RxSummary
pub fn from_packet(packet: &ReceivedPacketRef<'_>) -> Self
Trait Implementations§
impl Eq for RxSummary
impl StructuralPartialEq for RxSummary
Auto Trait Implementations§
impl Freeze for RxSummary
impl RefUnwindSafe for RxSummary
impl Send for RxSummary
impl Sync for RxSummary
impl Unpin for RxSummary
impl UnwindSafe for RxSummary
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)