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§
- Data
SetPacket Field - An item returned from the
DataSetPacketFieldIterator
for each field. - Data
SetPacket Field Iterator - An iterator over the fields of the
Packet
instances in aDataSet
. - Device
Spec - Contains information about a VBus device.
- Packet
Field Formatter - A helper type for formatting raw values.
- Packet
Field Spec - Contains information about a VBus packet field.
- Packet
Spec - Contains information about a VBus packet and its fields.
- RawValue
Formatter - 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.