Expand description
Async client module.
Public entry points:
AsyncTcpClient(TCP)AsyncSerialClient(RTU/ASCII)
§Module layout
| Module | Contents |
|---|---|
command | ClientRequest and TaskCommand channel envelopes |
response | ClientResponse typed result enum |
notifier | [AsyncClientTrafficNotifier] traffic hook trait (traffic feature) |
client_core | AsyncClientCore — public request API |
network_client | AsyncTcpClient — TCP constructor |
serial_client | AsyncSerialClient — serial constructor |
Structs§
- Async
Client Core - Shared async client handle.
- Async
Serial Client - Async Modbus serial client facade.
- Async
TcpClient - Async Modbus TCP client facade.
- Device
Identification Response - Represents a response to a Read Device Identification request (FC 43 / MEI 0E).
- Diagnostics
Data Response - Diagnostics response payload returned by FC 08.
- SubRequest
- Represents a collection of sub-requests for Modbus File Record operations.
- SubRequest
Params - Parameters for a single file record sub-request.
Enums§
- Async
Error - Async facade error type.
- Object
Id - Represents any valid Modbus Device Identification Object ID.
- Read
Device IdCode - Read Device ID Code (Function Code 43 / 14).
Type Aliases§
- Async
Ascii Client - Modbus ASCII async client.
- Async
RtuClient - Modbus RTU async client.
- Comm
Event LogResponse - Communication event log payload
(status, event_count, message_count, events)returned by FC 12.