pub struct PongMetadata {
pub round_trip_ms: u64,
pub hop_count: Option<u8>,
pub route_hints: Vec<RouterHint>,
pub rssi_dbm: Option<i16>,
pub snr_centibels: Option<i16>,
pub lqi: Option<u8>,
}Expand description
Measurements attached to an authenticated echo response.
RSSI, SNR, and LQI describe the final radio hop into this node. Route hints are the authenticated trace-route entries accumulated by repeaters; endpoints are not included in that list.
Fields§
§round_trip_ms: u64§hop_count: Option<u8>§route_hints: Vec<RouterHint>§rssi_dbm: Option<i16>§snr_centibels: Option<i16>§lqi: Option<u8>Trait Implementations§
Source§impl Clone for PongMetadata
impl Clone for PongMetadata
Source§fn clone(&self) -> PongMetadata
fn clone(&self) -> PongMetadata
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PongMetadata
impl Debug for PongMetadata
Source§impl PartialEq for PongMetadata
impl PartialEq for PongMetadata
impl Eq for PongMetadata
impl StructuralPartialEq for PongMetadata
Auto Trait Implementations§
impl Freeze for PongMetadata
impl RefUnwindSafe for PongMetadata
impl Send for PongMetadata
impl Sync for PongMetadata
impl Unpin for PongMetadata
impl UnwindSafe for PongMetadata
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)