Module x328_proto::types

source ·
Expand description

This module defines range-checked types for X3.28 addresses, parameters and values, meant to simplify correct usage of the API.

Structs

  • Address is a range-checked [0, 99] integer, representing a node address.
  • Parameter is a range-checked [0, 9999] integer, representing a register in a node.
  • Value represents a parameter value that can be sent over the X3.28 protocol.

Enums

  • Error type for this module
  • ValueFormat determines how a Value is represented in the on-wire format.

Traits

Functions