Expand description
rups
The rups
crate provides a network client implementation
for Network UPS Tools (NUT) servers.
Modules
- Blocking client implementation for NUT.
- Well-known variable keys for NUT UPS devices.
- Async client implementation for NUT, using Tokio.
Structs
- An authentication mechanism.
- Configuration for connecting to a remote NUT server.
- A builder for
Config
. - A TCP address, preserving the original DNS hostname if any.
- TCP connection information for a upsd server.
- NUT Variable definition.
- A range of values for a variable.
Enums
- Encapsulation for errors emitted by the client library.
- NUT device type.
- A host specification.
- A NUT-native error.
- Well-known variables for NUT UPS devices.
Constants
- The default upsd hostname.
- The default upsd port.
Type Definitions
- Result type for
ClientError