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 Display for WakeupError

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

impl Error for WakeupError

fn description(&self) -> &str

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

Derived Implementations

impl Debug for WakeupError

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