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

pub struct Rep { /* fields omitted */ }

The REP SocketType wrapper type

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

Trait Implementations

impl From<(Socket, PollEvented<File<ZmqFile>>)> for Rep
[src]

Performs the conversion.

impl AsSocket for Rep
[src]

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

impl StreamSocket for Rep
[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 Rep
[src]

Send a single multipart message to the socket. Read more

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

impl<'a> TryFrom<SockConfig<'a>> for Rep
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations

impl Send for Rep

impl !Sync for Rep