Enum tokio_zmq::error::Error
[−]
[src]
pub enum Error { Zmq(ZmqError), Io(IoError), }
Defines the error type for Tokio ZMQ.
Errors here can come from two places, IO, and ZeroMQ. Most errors encountered in this application are ZeroMQ errors, so Error::Zmq(_) is common, although we also need to catch IO errors from Tokio's PollEvented creation and TokioFileUnix's File creation.
Variants
Zmq(ZmqError)
Stores ZeroMQ Errors
Io(IoError)
Stores PollEvented and File creation errors