Enum enet_client::dev::DeviceValue [−][src]
#[non_exhaustive]
pub enum DeviceValue {
Undefined,
Off,
On(DeviceBrightness),
AllOff,
AllOn,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
On(DeviceBrightness)
Tuple Fields of On
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = ItemUpdateValue
type Error = ItemUpdateValue
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DeviceValue
impl Send for DeviceValue
impl Sync for DeviceValue
impl Unpin for DeviceValue
impl UnwindSafe for DeviceValue
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more