Enum zeromq::ZmqError[][src]

pub enum ZmqError {
    Endpoint(EndpointError),
    Network(Error),
    NoSuchBind(Endpoint),
    Codec(CodecError),
    Socket(&'static str),
    BufferFull(&'static str),
    ReturnToSender {
        reason: &'static str,
        message: ZmqMessage,
    },
    ReturnToSenderMultipart {
        reason: &'static str,
        messages: Vec<ZmqMessage>,
    },
    Task(TaskError),
    Other(&'static str),
    NoMessage,
    UnsupportedVersion((u8, u8)),
}

Variants

Endpoint(EndpointError)

Tuple Fields of Endpoint

0: EndpointError
Network(Error)

Tuple Fields of Network

0: Error
NoSuchBind(Endpoint)

Tuple Fields of NoSuchBind

0: Endpoint
Codec(CodecError)

Tuple Fields of Codec

0: CodecError
Socket(&'static str)

Tuple Fields of Socket

0: &'static str
BufferFull(&'static str)

Tuple Fields of BufferFull

0: &'static str
ReturnToSender

Fields of ReturnToSender

reason: &'static strmessage: ZmqMessage
ReturnToSenderMultipart

Fields of ReturnToSenderMultipart

reason: &'static strmessages: Vec<ZmqMessage>
Task(TaskError)

Tuple Fields of Task

0: TaskError
Other(&'static str)

Tuple Fields of Other

0: &'static str
NoMessage
UnsupportedVersion((u8, u8))

Tuple Fields of UnsupportedVersion

0: (u8, u8)

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.