Enum hiirc::LoircError []

pub enum LoircError {
    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

impl PartialEq<Error> for Error

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

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for Error

impl Debug for Error

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

Formats the value using the given formatter.

impl Clone for Error

fn clone(&self) -> Error

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Error