Expand description
§rups
The rups
crate provides a network client implementation
for Network UPS Tools (NUT) servers.
Modules§
- blocking
- Blocking client implementation for NUT.
- key
- Well-known variable keys for NUT UPS devices.
- tokio
- Async client implementation for NUT, using Tokio.
Structs§
- Auth
- An authentication mechanism.
- Config
- Configuration for connecting to a remote NUT server.
- Config
Builder - A builder for
Config
. - TcpHost
- A TCP address, preserving the original DNS hostname if any.
- Upsd
Name - TCP connection information for a upsd server.
- Variable
Definition - NUT Variable definition.
- Variable
Range - A range of values for a variable.
Enums§
- Client
Error - Encapsulation for errors emitted by the client library.
- Device
Type - NUT device type.
- Host
- A host specification.
- NutError
- A NUT-native error.
- Variable
- Well-known variables for NUT UPS devices.
Constants§
- DEFAULT_
HOSTNAME - The default upsd hostname.
- DEFAULT_
PORT - The default upsd port.
Type Aliases§
- Result
- Result type for
ClientError