Enum hiirc::Error [] [src]

pub enum Error {
    AlreadyClosed,
    AlreadyDisconnected,
    Closed,
    Disconnected,
    IoError(Error),
    Multiline,
}

Errors that can occur.

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.

IoError(Error)

I/O error.

Multiline

The message contains a line break.

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.