Skip to main content

Module binding

Module binding 

Source
Expand description

Bridge from the protocol-agnostic crate::path::PropertyPath to the concrete address used on the wire.

Each protocol crate consumes the matching ProtocolBinding variant through its IotClient impl. The gateway crate (iot-gateway) walks a ThingMapping to bridge protocols.

These types are deliberately value-shaped: no methods that touch the network, no async. They serialise cleanly via serde so a deployment can ship the mapping as TOML/YAML/JSON.

Structs§

ThingMapping
Mapping of every PropertyPath in one Thing onto its protocol address.

Enums§

ByteOrder
How a multi-register Modbus value is laid out in memory.
ContentFormat
Content-Format option used by CoAP — RFC 7252 §12.3.
DataType
How to interpret one or more registers as a typed value.
PayloadCodec
How an MQTT payload encodes a crate::Value.
ProtocolBinding
Concrete protocol address backing one PropertyPath.
Qos
MQTT QoS level.
RegisterArea
Modbus register area.