Struct tokio_zmq::socket::types::Pair[][src]

pub struct Pair { /* fields omitted */ }

The PAIR SocketType wrapper type.

Pair implements StreamSocket and SinkSocket, and has an associated controlled variant.

Trait Implementations

impl From<(Socket, EventedFile)> for Pair
[src]

Performs the conversion.

impl AsSocket for Pair
[src]

Any type implementing AsSocket must have a way of returning a reference to a Socket.

impl StreamSocket for Pair
[src]

Receive a single multipart message from the socket. Read more

Receive a stream of multipart messages from the socket. Read more

impl SinkSocket for Pair
[src]

Send a single multipart message to the socket. Read more

Send a stream of multipart messages to the socket. Read more

Auto Trait Implementations

impl Send for Pair

impl !Sync for Pair