Error indicating a transport operation was attempted before the
connection was established or after it was closed.
This is a local error — it is never returned by modbus-rs.
Timeout setters require an open connection. Client acquisition opens the
connection lazily, but fails after the transport scope has closed.
Connect by calling withClient(unitId) on the transport service.
The connection is established lazily on the first call.
See
ModbusNotConnectedError — Triggered when the transport is null.
Error indicating a transport operation was attempted before the connection was established or after it was closed.
This is a local error — it is never returned by
modbus-rs. Timeout setters require an open connection. Client acquisition opens the connection lazily, but fails after the transport scope has closed.Connect by calling
withClient(unitId)on the transport service. The connection is established lazily on the first call.See
ModbusNotConnectedError — Triggered when the transport is null.