1 2 3 4 5 6 7 8 9 10 11 12
//! Conversion utilities for the ZMQ binding. use crate::error::{Error, ErrorKind}; impl From<zmq::Error> for Error { #[track_caller] fn from(value: zmq::Error) -> Self { Error::new(ErrorKind::Zmq) .with_source(Box::new(value)) } }