Enum nut_client::blocking::Connection[][src]

pub enum Connection {
    Tcp(TcpConnection),
}
Expand description

A blocking NUT client connection.

Variants

Tcp

A TCP connection.

Tuple Fields of Tcp

0: TcpConnection

Implementations

Initializes a connection to a NUT server (upsd).

Queries a list of UPS devices.

Queries a list of client IP addresses connected to the given device.

Queries the list of variables for a UPS device.

Queries one variable for a UPS device.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.