Skip to main content

Module meters

Module meters 

Source
Expand description

Independent resource meters (E18.2–E18.3). Unknown is not Measured and not zero.

Structs§

MeterReading
One observed meter. Quality is independent of milli_units.

Enums§

MeterKind
Meter kinds. Byte-time and network bytes stay distinct from joules, time and compute.

Functions§

meter_admits_service
Unknown quality cannot admit funded service. Measured and estimated may.
reading_from_quantity
Map a Quantity into a meter of the same ResourceKind.
unknown_meter_as_zero
Unknown meter is not billed as zero.
unknown_quality_is_measured
Unknown observation is not Measured.