Trait tmq::AsZmqSocket
source · pub trait AsZmqSocket {
// Required method
fn get_socket(&self) -> &Socket;
}
Expand description
Trait for various ZMQ socket wrappers.
Required Methods§
sourcefn get_socket(&self) -> &Socket
fn get_socket(&self) -> &Socket
Return a reference to the inner ZMQ socket.