pub struct Neighbor {
pub node_id: u8,
pub rssi: i16,
pub last_seen: u32,
pub rx_count: u16,
/* private fields */
}Expand description
Information about a neighboring node
Fields§
§node_id: u8Node ID
rssi: i16Last RSSI value (-dBm, higher = better)
last_seen: u32Last seen tick
rx_count: u16Messages received from this neighbor
Implementations§
Trait Implementations§
impl Copy for Neighbor
Auto Trait Implementations§
impl Freeze for Neighbor
impl RefUnwindSafe for Neighbor
impl Send for Neighbor
impl Sync for Neighbor
impl Unpin for Neighbor
impl UnsafeUnpin for Neighbor
impl UnwindSafe for Neighbor
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