Enum loirc::Error [] [src]

pub enum Error {
    AlreadyClosed,
    AlreadyDisconnected,
    Closed,
    Disconnected,
}

Errors produced by the Writer.

Variants

AlreadyClosed

Connection is already closed.

AlreadyDisconnected

Connection is already disconnected.

Closed

Connection was manually closed.

Disconnected

Connection was dropped.

A reconnection might be in process.

Trait Implementations

Derived Implementations

impl PartialEq for Error

fn eq(&self, __arg_0: &Error) -> bool

fn ne(&self, __arg_0: &Error) -> bool

impl Eq for Error

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Error

fn clone(&self) -> Error

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Error