Module reconnect

Source
Expand description

Automatic reconnection handling for Aranet devices.

This module provides a wrapper around Device that automatically handles reconnection when the connection is lost.

ReconnectingDevice implements the AranetDevice trait, allowing it to be used interchangeably with regular devices in generic code.

Structs§

ReconnectOptions
Options for automatic reconnection.
ReconnectingDevice
A device wrapper that automatically handles reconnection.

Enums§

ConnectionState
State of the reconnecting device.