pub struct IncomingMsg {Show 14 fields
pub group: u16,
pub cluster: u16,
pub source: NodeId,
pub source_ieee: Option<Ieee>,
pub source_endpoint: u8,
pub destination_endpoint: u8,
pub broadcast: bool,
pub lqi: u8,
pub secured: bool,
pub timestamp: u32,
pub tsn: u8,
pub data: Vec<u8>,
pub last_hop: Option<NodeId>,
pub extended: bool,
}Expand description
An AF_INCOMING_MSG or AF_INCOMING_MSG_EXT.
Fields§
§group: u16The group, 0 for none.
cluster: u16Cluster.
source: NodeIdThe sender’s network address (the short form’s only address).
source_ieee: Option<Ieee>The sender’s IEEE address, when the extended form carried one.
source_endpoint: u8Source endpoint.
destination_endpoint: u8Destination endpoint.
broadcast: boolSent as a broadcast.
lqi: u8Link quality.
secured: boolWas APS-secured.
timestamp: u32The NCP’s timestamp.
tsn: u8APS counter.
data: Vec<u8>Payload.
last_hop: Option<NodeId>The last hop’s network address, when the firmware reports it.
extended: boolThe extended form (long payloads, IEEE source).
Trait Implementations§
Source§impl Clone for IncomingMsg
impl Clone for IncomingMsg
Source§impl Debug for IncomingMsg
impl Debug for IncomingMsg
impl Eq for IncomingMsg
Source§impl PartialEq for IncomingMsg
impl PartialEq for IncomingMsg
impl StructuralPartialEq for IncomingMsg
Auto Trait Implementations§
impl Freeze for IncomingMsg
impl RefUnwindSafe for IncomingMsg
impl Send for IncomingMsg
impl Sync for IncomingMsg
impl Unpin for IncomingMsg
impl UnsafeUnpin for IncomingMsg
impl UnwindSafe for IncomingMsg
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