Enum nut_client::DeviceType [−][src]
pub enum DeviceType { Ups, Pdu, Scd, Psu, Ats, Other(String), }
Expand description
NUT device type.
Variants
UPS (Uninterruptible Power Supply)
PDU (Power Distribution Unit)
SCD (Solar Controller Device)
PSU (Power Supply Unit)
ATS (Automatic Transfer Switch)
Other device type.
Tuple Fields of Other
0: String
Implementations
Convert from string.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
Blanket Implementations
Mutably borrows from an owned value. Read more