pub struct FrameLink {
pub nwk: NodeId,
pub source_endpoint: u8,
pub destination_endpoint: u8,
pub profile: u16,
pub cluster: u16,
pub group: Option<u16>,
pub broadcast: bool,
pub lqi: u8,
pub rssi: Option<i8>,
pub last_hop: NodeId,
}Expand description
How a frame arrived.
Fields§
§nwk: NodeIdThe sender’s network address.
source_endpoint: u8The sender’s endpoint.
destination_endpoint: u8The endpoint it was sent to.
profile: u16Application profile.
cluster: u16Cluster.
group: Option<u16>The group, for a multicast.
broadcast: boolSent as a broadcast or multicast.
lqi: u8Last hop link quality.
rssi: Option<i8>Last hop signal strength, dBm, when the coordinator reports it (EmberZNet and deCONZ do; Z-Stack does not).
last_hop: NodeIdThe device the frame came from on its last hop: the last relay of the sender’s recorded route, or the sender itself.
Trait Implementations§
impl Copy for FrameLink
impl Eq for FrameLink
impl StructuralPartialEq for FrameLink
Auto Trait Implementations§
impl Freeze for FrameLink
impl RefUnwindSafe for FrameLink
impl Send for FrameLink
impl Sync for FrameLink
impl Unpin for FrameLink
impl UnsafeUnpin for FrameLink
impl UnwindSafe for FrameLink
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