pub trait Sendable {
// Required method
fn send(self, socket: &Socket, flags: i32) -> Result<()>;
}Expand description
Sendable over a Socket.
A type can implement this trait there is an especially efficient implementation for sending it as a message over a zmq socket.
If the type needs to be directly passed to Socket::send(), but
the overhead of allocating a Message instance is not an issue,
Into<Message> should be implemented instead.