Expand description
§nut-client
The nut-client
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.
- 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.
Type Aliases§
- Result
- Result type for
ClientError