pub trait Cluster: ClusterHandler {
const ID: ClusterId;
}Expand description
One cluster implementation, tagged with the id it answers for.
The supertrait is what makes a Cluster usable on its own — a device with exactly one
cluster needs no dispatch — and the associated ID is what makes a tuple of them
dispatchable.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<T: Cluster + ?Sized> Cluster for &T
A shared reference to a cluster is a cluster, so a tuple of borrowed clusters dispatches
like a tuple of owned ones.
impl<T: Cluster + ?Sized> Cluster for &T
A shared reference to a cluster is a cluster, so a tuple of borrowed clusters dispatches like a tuple of owned ones.
Implementors§
Source§impl Cluster for AdministratorCommissioning<'_>
Available on crate feature rustcrypto only.
impl Cluster for AdministratorCommissioning<'_>
rustcrypto only.Source§impl Cluster for BridgedDeviceBasicInformation<'_>
So a tuple of clusters can dispatch to it by id.
impl Cluster for BridgedDeviceBasicInformation<'_>
So a tuple of clusters can dispatch to it by id.
Source§impl<C: Config, K: KeyStore, R: Rng, const N: usize> Cluster for OperationalCredentials<'_, C, K, R, N>
Available on crate feature rustcrypto only.
impl<C: Config, K: KeyStore, R: Rng, const N: usize> Cluster for OperationalCredentials<'_, C, K, R, N>
rustcrypto only.Source§impl<C: Config, T: GroupTable, const K: usize, const M: usize> Cluster for GroupKeyManagement<'_, C, T, K, M>
Available on crate feature rustcrypto only.So a tuple of clusters can dispatch to it by id.
impl<C: Config, T: GroupTable, const K: usize, const M: usize> Cluster for GroupKeyManagement<'_, C, T, K, M>
rustcrypto only.So a tuple of clusters can dispatch to it by id.
Source§impl<C: Config, const M: usize, const E: usize, const K: usize, const G: usize> Cluster for Groupcast<'_, C, M, E, K, G>
Available on crate features provisional and rustcrypto only.So a tuple of clusters can dispatch to it by id.
impl<C: Config, const M: usize, const E: usize, const K: usize, const G: usize> Cluster for Groupcast<'_, C, M, E, K, G>
provisional and rustcrypto only.So a tuple of clusters can dispatch to it by id.
Source§impl<C: Config, const N: usize, A: StayActive> Cluster for IcdManagement<'_, C, N, A>
Available on crate feature rustcrypto only.So a tuple of clusters can dispatch to it by id.
impl<C: Config, const N: usize, A: StayActive> Cluster for IcdManagement<'_, C, N, A>
rustcrypto only.So a tuple of clusters can dispatch to it by id.
Source§impl<C: Config, const N: usize, const S: usize, const T: usize> Cluster for AccessControl<'_, C, N, S, T>
impl<C: Config, const N: usize, const S: usize, const T: usize> Cluster for AccessControl<'_, C, N, S, T>
Source§impl<D: Diagnostics> Cluster for GeneralDiagnostics<'_, D>
So a tuple of clusters can dispatch to it by id.
impl<D: Diagnostics> Cluster for GeneralDiagnostics<'_, D>
So a tuple of clusters can dispatch to it by id.
Source§impl<D: EthernetDriver> Cluster for EthernetNetworkDiagnostics<'_, D>
So a tuple of clusters can dispatch to it by id.
impl<D: EthernetDriver> Cluster for EthernetNetworkDiagnostics<'_, D>
So a tuple of clusters can dispatch to it by id.
Source§impl<D: NetworkDriver, const N: usize> Cluster for NetworkCommissioning<'_, D, N>
impl<D: NetworkDriver, const N: usize> Cluster for NetworkCommissioning<'_, D, N>
Source§impl<D: ThreadDriver, const E: usize> Cluster for ThreadNetworkDiagnostics<'_, D, E>
So a tuple of clusters can dispatch to it by id.
impl<D: ThreadDriver, const E: usize> Cluster for ThreadNetworkDiagnostics<'_, D, E>
So a tuple of clusters can dispatch to it by id.
Source§impl<D: WiFiDriver, const E: usize> Cluster for WiFiNetworkDiagnostics<'_, D, E>
So a tuple of clusters can dispatch to it by id.
impl<D: WiFiDriver, const E: usize> Cluster for WiFiNetworkDiagnostics<'_, D, E>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: CommissionerControlHooks, const N: usize> Cluster for CommissionerControl<'_, H, N>
So a tuple of clusters can dispatch to it by id.
impl<H: CommissionerControlHooks, const N: usize> Cluster for CommissionerControl<'_, H, N>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: DemHooks> Cluster for DeviceEnergyManagement<'_, H>
So a tuple of clusters can dispatch to it by id.
impl<H: DemHooks> Cluster for DeviceEnergyManagement<'_, H>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: EnergyMeterHooks> Cluster for ElectricalEnergyMeasurement<'_, H>
impl<H: EnergyMeterHooks> Cluster for ElectricalEnergyMeasurement<'_, H>
Source§impl<H: EvseHooks, const T: usize> Cluster for EnergyEvse<'_, H, T>
So a tuple of clusters can dispatch to it by id.
impl<H: EvseHooks, const T: usize> Cluster for EnergyEvse<'_, H, T>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: IdentifyHooks> Cluster for Identify<'_, H>
So a tuple of clusters can dispatch to it by id.
impl<H: IdentifyHooks> Cluster for Identify<'_, H>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: JointFabricHooks> Cluster for JointFabricAdministrator<'_, H>
Available on crate feature rustcrypto only.So a tuple of clusters can dispatch to it by id.
impl<H: JointFabricHooks> Cluster for JointFabricAdministrator<'_, H>
rustcrypto only.So a tuple of clusters can dispatch to it by id.
Source§impl<H: LevelControlHooks, O: OnOffState> Cluster for LevelControl<'_, H, O>
So a tuple of clusters can dispatch to it by id.
impl<H: LevelControlHooks, O: OnOffState> Cluster for LevelControl<'_, H, O>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: ModeHooks, const CLUSTER: ClusterId> Cluster for Mode<'_, H, CLUSTER>
So a tuple of clusters can dispatch to it by id — a different type per derived cluster.
impl<H: ModeHooks, const CLUSTER: ClusterId> Cluster for Mode<'_, H, CLUSTER>
So a tuple of clusters can dispatch to it by id — a different type per derived cluster.
Source§impl<H: OnOffHooks> Cluster for OnOff<'_, H>
So a tuple of clusters can dispatch to it by id.
impl<H: OnOffHooks> Cluster for OnOff<'_, H>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: OtaProviderHooks> Cluster for OtaProvider<'_, H>
So a tuple of clusters can dispatch to it by id.
impl<H: OtaProviderHooks> Cluster for OtaProvider<'_, H>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: OtaRequestorHooks, const N: usize> Cluster for OtaRequestor<'_, H, N>
So a tuple of clusters can dispatch to it by id.
impl<H: OtaRequestorHooks, const N: usize> Cluster for OtaRequestor<'_, H, N>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: PowerMeterHooks> Cluster for ElectricalPowerMeasurement<'_, H>
impl<H: PowerMeterHooks> Cluster for ElectricalPowerMeasurement<'_, H>
Source§impl<H: SceneHooks, G: GroupMembership, const N: usize, const EFS: usize, const F: usize> Cluster for Scenes<'_, H, G, N, EFS, F>
So a tuple of clusters can dispatch to it by id.
impl<H: SceneHooks, G: GroupMembership, const N: usize, const EFS: usize, const F: usize> Cluster for Scenes<'_, H, G, N, EFS, F>
So a tuple of clusters can dispatch to it by id.
Source§impl<H: TlsCertificateHooks, const R: usize, const C: usize, const E: usize> Cluster for CertificateManagement<'_, H, R, C, E>
Available on crate feature rustcrypto only.So a tuple of clusters can dispatch to it by id.
impl<H: TlsCertificateHooks, const R: usize, const C: usize, const E: usize> Cluster for CertificateManagement<'_, H, R, C, E>
rustcrypto only.So a tuple of clusters can dispatch to it by id.
Source§impl<H: WaterHeaterHooks> Cluster for WaterHeaterManagement<'_, H>
So a tuple of clusters can dispatch to it by id.
impl<H: WaterHeaterHooks> Cluster for WaterHeaterManagement<'_, H>
So a tuple of clusters can dispatch to it by id.
Source§impl<M: SoftwareMetrics> Cluster for SoftwareDiagnostics<'_, M>
So a tuple of clusters can dispatch to it by id.
impl<M: SoftwareMetrics> Cluster for SoftwareDiagnostics<'_, M>
So a tuple of clusters can dispatch to it by id.
Source§impl<const N: usize, I: Identifying, S: ScenePurge> Cluster for Groups<'_, N, I, S>
So a tuple of clusters can dispatch to it by id.
impl<const N: usize, I: Identifying, S: ScenePurge> Cluster for Groups<'_, N, I, S>
So a tuple of clusters can dispatch to it by id.