pub enum ZmqError {
Show 13 variants
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,
PeerIdentity,
UnsupportedVersion((u8, u8)),
}
Variants§
Endpoint(EndpointError)
Network(Error)
NoSuchBind(Endpoint)
Codec(CodecError)
Socket(&'static str)
BufferFull(&'static str)
ReturnToSender
ReturnToSenderMultipart
Task(TaskError)
Other(&'static str)
NoMessage
PeerIdentity
UnsupportedVersion((u8, u8))
Trait Implementations§
source§impl Error for ZmqError
impl Error for ZmqError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<TrySendError<Message>> for ZmqError
impl From<TrySendError<Message>> for ZmqError
source§fn from(_: TrySendError<Message>) -> Self
fn from(_: TrySendError<Message>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ZmqError
impl Send for ZmqError
impl Sync for ZmqError
impl Unpin for ZmqError
impl !UnwindSafe for ZmqError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more