Expand description
Cluster definitions and the table-driven codec for cluster commands.
The tables (CLUSTERS) and constant modules (cluster_id,
attr, command, response) are generated at build time from
data/clusters.toml.
Modules§
- attr
- Attribute ids, one module per cluster.
- cluster_
id - Cluster ids.
- command
- Command ids received by each cluster’s server, one module per cluster.
- response
- Command ids generated by each cluster’s server, one module per cluster.
Structs§
- Attribute
Def - An attribute.
- Cluster
Def - A cluster.
- Command
Def - A cluster-specific command.
- Field
Def - A command field.
- Report
Default - A default reporting configuration.
Enums§
- Encode
Error - A command’s fields did not encode.
- Field
Kind - How a command field is encoded.
Statics§
- CLUSTERS
- Every cluster this crate knows, sorted by id.
Functions§
- cluster
- The cluster with this id.
- cluster_
by_ name - The cluster with this name.