pub struct SimSnapshot {
pub network: Option<SimNetwork>,
pub joined: Vec<(Ieee, NodeId)>,
pub bindings: Vec<(Ieee, u8, u16)>,
pub reporting: Vec<(Ieee, u8, u16, u16)>,
pub permit_join: bool,
pub ieee: Ieee,
pub key_table: Vec<(Ieee, Key)>,
pub ias_enrolled: Vec<Ieee>,
pub firmware: Vec<(Ieee, SimFirmware)>,
}Expand description
A point-in-time view for tests.
Fields§
§network: Option<SimNetwork>The stored network, if any.
joined: Vec<(Ieee, NodeId)>Joined devices and their network addresses.
bindings: Vec<(Ieee, u8, u16)>Bindings: (device, endpoint, cluster).
reporting: Vec<(Ieee, u8, u16, u16)>Reporting configurations: (device, endpoint, cluster, attribute).
permit_join: boolJoining is open.
ieee: IeeeThe IEEE address the NCP reports (factory or written).
key_table: Vec<(Ieee, Key)>Link keys the NCP holds for individual devices.
ias_enrolled: Vec<Ieee>IAS-enrolled devices.
firmware: Vec<(Ieee, SimFirmware)>Firmware of the devices that take OTA upgrades.
Trait Implementations§
Source§impl Clone for SimSnapshot
impl Clone for SimSnapshot
Auto Trait Implementations§
impl Freeze for SimSnapshot
impl RefUnwindSafe for SimSnapshot
impl Send for SimSnapshot
impl Sync for SimSnapshot
impl Unpin for SimSnapshot
impl UnsafeUnpin for SimSnapshot
impl UnwindSafe for SimSnapshot
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