Enum enet_client::dev::DeviceValue [−][src]
pub enum DeviceValue {
Undefined,
Off,
On(OnValue),
AllOff,
AllOn,
}Variants
On(OnValue)Tuple Fields of On
0: OnValueImplementations
Trait Implementations
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
Instruments this type with the provided Span, returning an
Instrumented wrapper. 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