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.
It is thrown by the transport service when setRequestTimeout,
clearRequestTimeout, or withClient is called before a
successful connection.
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. It is thrown by the transport service whensetRequestTimeout,clearRequestTimeout, orwithClientis called before a successful connection.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.