Struct tokio_zmq::Rep [] [src]

pub struct Rep { /* fields omitted */ }

The REP SocketType wrapper type

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

Methods

impl Rep
[src]

[src]

Construct a controlled variant of the Rep socket

Trait Implementations

impl Clone for Rep
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl AsSocket for Rep
[src]

[src]

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

[src]

Any type implementing AsSocket must have a way of consuming itself and returning a socket.

impl StreamSocket for Rep
[src]

[src]

Receive a single multipart message from the socket. Read more

[src]

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

[src]

Receive a stream of multipart messages from the socket ending when end_handler's should_stop returns true. Read more

impl SinkSocket for Rep
[src]

[src]

Send a single multipart message to the socket. Read more

[src]

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.

[src]

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

Performs the conversion.