Module specification

Source
Expand description

This module provides the Specification and its associated types to allow interpretation of the fields contained within the frame_data payload of Packet values.

Structs§

DataSetPacketField
An item returned from the DataSetPacketFieldIterator for each field.
DataSetPacketFieldIterator
An iterator over the fields of the Packet instances in a DataSet.
DeviceSpec
Contains information about a VBus device.
PacketFieldFormatter
A helper type for formatting raw values.
PacketFieldSpec
Contains information about a VBus packet field.
PacketSpec
Contains information about a VBus packet and its fields.
RawValueFormatter
A helper type for formatting raw values.
Specification
The Specification type contains information about known devices and packets.

Functions§

power_of_ten_f64
Get the “power of 10” f64 value for common “n“s and calculate it otherwise.
power_of_ten_i64
Get the “power of 10” i64 value for common “n“s and calculate it otherwise.