Enum rotor::WakeupError []

pub enum WakeupError {
    Io,
    Full,
    Closed,
}

Error when waking up a connection

In most cases it's okay to panic on this error

Variants

Io

I/O error when sending data to internal pipe

We discard the io error as there no practical reason for this error to occur

Full

The pipe is full, the useful thing to do is configure longer queue in mio loop. Or alternatively, send less messages.

Closed

The notification queue is closed. Probably event loop is shut down

Trait Implementations

impl Debug for WakeupError
[src]

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

Formats the value using the given formatter.

impl Display for WakeupError

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

Formats the value using the given formatter.

impl Error for WakeupError

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more