pub enum Body {
Show 32 variants
NwkAddrReq {
ieee: Ieee,
request_type: u8,
start_index: u8,
},
IeeeAddrReq {
nwk: NodeId,
request_type: u8,
start_index: u8,
},
NodeDescReq {
nwk: NodeId,
},
PowerDescReq {
nwk: NodeId,
},
SimpleDescReq {
nwk: NodeId,
endpoint: u8,
},
ActiveEpReq {
nwk: NodeId,
},
MatchDescReq {
nwk: NodeId,
profile_id: u16,
input_clusters: Vec<u16>,
output_clusters: Vec<u16>,
},
DeviceAnnce {
nwk: NodeId,
ieee: Ieee,
capability: u8,
},
BindReq(Binding),
UnbindReq(Binding),
MgmtLqiReq {
start_index: u8,
},
MgmtRtgReq {
start_index: u8,
},
MgmtBindReq {
start_index: u8,
},
MgmtLeaveReq {
ieee: Ieee,
flags: u8,
},
MgmtPermitJoiningReq {
duration: u8,
tc_significance: u8,
},
MgmtNwkUpdateReq {
channel_mask: u32,
scan_duration: u8,
scan_count: Option<u8>,
nwk_update_id: Option<u8>,
manager: Option<NodeId>,
},
NwkAddrRsp {
status: u8,
ieee: Ieee,
nwk: NodeId,
associated: Option<AssociatedDevices>,
},
IeeeAddrRsp {
status: u8,
ieee: Ieee,
nwk: NodeId,
associated: Option<AssociatedDevices>,
},
NodeDescRsp {
status: u8,
nwk: NodeId,
descriptor: Option<NodeDescriptor>,
},
PowerDescRsp {
status: u8,
nwk: NodeId,
descriptor: Option<u16>,
},
SimpleDescRsp {
status: u8,
nwk: NodeId,
descriptor: Option<SimpleDescriptor>,
},
ActiveEpRsp {
status: u8,
nwk: NodeId,
endpoints: Vec<u8>,
},
MatchDescRsp {
status: u8,
nwk: NodeId,
endpoints: Vec<u8>,
},
BindRsp {
status: u8,
},
UnbindRsp {
status: u8,
},
MgmtLqiRsp {
status: u8,
total: u8,
start_index: u8,
neighbors: Vec<Neighbor>,
},
MgmtRtgRsp {
status: u8,
total: u8,
start_index: u8,
routes: Vec<Route>,
},
MgmtBindRsp {
status: u8,
total: u8,
start_index: u8,
bindings: Vec<Binding>,
},
MgmtLeaveRsp {
status: u8,
},
MgmtPermitJoiningRsp {
status: u8,
},
MgmtNwkUpdateNotify {
status: u8,
scanned_channels: u32,
total_transmissions: u16,
transmission_failures: u16,
energy: Vec<u8>,
},
Other {
cluster: u16,
payload: Vec<u8>,
},
}Expand description
A ZDO frame body.
Variants§
NwkAddrReq
IeeeAddrReq
NodeDescReq
PowerDescReq
SimpleDescReq
ActiveEpReq
MatchDescReq
DeviceAnnce
BindReq(Binding)
UnbindReq(Binding)
MgmtLqiReq
MgmtRtgReq
MgmtBindReq
MgmtLeaveReq
MgmtPermitJoiningReq
MgmtNwkUpdateReq
Fields
NwkAddrRsp
IeeeAddrRsp
NodeDescRsp
PowerDescRsp
SimpleDescRsp
ActiveEpRsp
MatchDescRsp
BindRsp
UnbindRsp
MgmtLqiRsp
MgmtRtgRsp
MgmtBindRsp
MgmtLeaveRsp
MgmtPermitJoiningRsp
MgmtNwkUpdateNotify
Fields
Other
A cluster this crate does not decode.
Trait Implementations§
impl Eq for Body
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnsafeUnpin for Body
impl UnwindSafe for Body
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