pub struct DeviceLoad {
pub current_subscriptions: u16,
pub current_subscriptions_for_fabric: u16,
pub total_subscriptions_established: u32,
pub total_im_messages_sent: u32,
pub total_im_messages_received: u32,
}Expand description
§11.12.5.7’s DeviceLoadStruct — how hard the node is working.
“For all the fields, the value SHALL remain at the maximum representable (clamp to max) if the maximum value is reached.” Saturating rather than wrapping, because a counter that wraps reports a node under no load at the moment it is under the most.
Fields§
§current_subscriptions: u16Active subscriptions across every fabric.
current_subscriptions_for_fabric: u16Active subscriptions for the accessing fabric alone. “If no accessing fabric is available, this field SHALL be set to zero.”
total_subscriptions_established: u32Subscriptions successfully established since start-up, across every fabric.
total_im_messages_sent: u32Interaction Model messages sent since start-up, “excluding any retries”.
total_im_messages_received: u32Interaction Model messages received since start-up, excluding retries.
Trait Implementations§
Source§impl Clone for DeviceLoad
impl Clone for DeviceLoad
impl Copy for DeviceLoad
Source§impl Debug for DeviceLoad
impl Debug for DeviceLoad
Source§impl Default for DeviceLoad
impl Default for DeviceLoad
impl Eq for DeviceLoad
Source§impl PartialEq for DeviceLoad
impl PartialEq for DeviceLoad
impl StructuralPartialEq for DeviceLoad
Auto Trait Implementations§
impl Forget for DeviceLoad
impl Freeze for DeviceLoad
impl Move for DeviceLoad
impl RefUnwindSafe for DeviceLoad
impl Send for DeviceLoad
impl Sync for DeviceLoad
impl Unpin for DeviceLoad
impl UnsafeUnpin for DeviceLoad
impl UnwindSafe for DeviceLoad
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