Skip to main content

ImStats

Trait ImStats 

Source
pub trait ImStats {
    // Required method
    fn device_load(&self, fab_idx: Option<NonZero<u8>>) -> DeviceLoad;
}
Expand description

Interaction-Model state threaded down to cluster handlers via HandlerContext::im_stats.

Required Methods§

Source

fn device_load(&self, fab_idx: Option<NonZero<u8>>) -> DeviceLoad

The node’s resource-utilisation metrics, for GeneralDiagnostics::DeviceLoadStatus.

fab_idx is the fabric of the reading subject, for CurrentSubscriptionsForFabric; pass None when no fabric is in scope.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> ImStats for &T
where T: ImStats,

Implementors§

Source§

impl<C, B, T, K, N, NC, R, const NS: usize, const NE: usize> ImStats for InteractionModel<'_, C, B, T, K, N, NC, R, NS, NE>
where C: Crypto, B: Buffers<Vec<u8, rs_matter::::transport::exchange::Buffer::{constant#0}>>, T: DataModel, K: KvBlobStoreAccess, N: Networks,