pub struct Link {
pub from: NodeId,
pub to: NodeId,
pub lqi: Option<u8>,
pub rssi: Option<i8>,
pub source: LinkSource,
pub seen_unix: u64,
}Expand description
A link between two devices, from from to to (towards the
coordinator for passive links).
Fields§
§from: NodeIdSending side.
to: NodeIdReceiving side.
lqi: Option<u8>Link quality, when known.
rssi: Option<i8>Signal strength in dBm, when known.
source: LinkSourceHow it was learned.
seen_unix: u64When, seconds since the Unix epoch.
Trait Implementations§
impl Eq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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