Enum wemo::WemoState [] [src]

pub enum WemoState {
    Off,
    On,
    OnWithoutLoad,
    Unknown(u16),
}

Variants

State 0

State 1

A state for the WeMo Insight. State 8

Unknown state

Methods

impl WemoState
[src]

Whether the device is on or off.

Returns a textual state useful for printing.

Trait Implementations

impl Clone for WemoState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for WemoState
[src]

Formats the value using the given formatter.

impl Eq for WemoState
[src]

impl PartialEq for WemoState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for WemoState
[src]

Formats the value using the given formatter. Read more