Skip to main content

Module value

Module value 

Source
Expand description

Decoded value model (spec §8, §13). The no_std core surfaces Value (no heap: strings decode into caller buffers, flags stay a raw mask with name iteration via the descriptor); the alloc feature adds the owned DecodedValue mirroring the Go/TS union.

Enums§

DecodedValue
Owned decoded value (parity with the Go/TS union), alloc only.
Reading
A reading that may be a device-reported “no data” sentinel (§8.4).
Value
Heap-free decoded value.

Functions§

field_value
Extract one sub-field from a packed window raw value (§13).
flag_names
Iterate the names of set flags for a FLAGS point (ascending bit order).