pub enum DeviceState {
Off,
On,
Unknown,
}
Variants§
Trait Implementations§
Source§impl Clone for DeviceState
impl Clone for DeviceState
Source§fn clone(&self) -> DeviceState
fn clone(&self) -> DeviceState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeviceState
impl Debug for DeviceState
Source§impl Display for DeviceState
impl Display for DeviceState
Source§impl From<DeviceState> for DeviceValue
impl From<DeviceState> for DeviceValue
Source§fn from(state: DeviceState) -> Self
fn from(state: DeviceState) -> Self
Converts to this type from the input type.
Source§impl From<SetValue> for DeviceState
impl From<SetValue> for DeviceState
Source§impl FromStr for DeviceState
impl FromStr for DeviceState
Source§impl Hash for DeviceState
impl Hash for DeviceState
Source§impl PartialEq for DeviceState
impl PartialEq for DeviceState
impl Copy for DeviceState
impl Eq for DeviceState
impl StructuralPartialEq for DeviceState
Auto Trait Implementations§
impl Freeze for DeviceState
impl RefUnwindSafe for DeviceState
impl Send for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl UnwindSafe for DeviceState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more