Enum lifx_core::Error[][src]

pub enum Error {
    UnknownMessageType(u16),
    ProtocolError(String),
    Io(Error),
}

Various message encoding/decoding errors

Variants

This error means we were unable to parse a raw message because its type is unknown.

LIFX devices are known to send messages that are not officially documented, so this error type does not necessarily represent a bug.

This error means one of the message fields contains an invalid or unsupported value.

The inner string is a description of the error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error