Struct tokio_zmq::Dealer [] [src]

pub struct Dealer { /* fields omitted */ }

The DEALER SocketType wrapper type.

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

Methods

impl Dealer
[src]

[src]

Construct a controled version of the Dealer socket.

Trait Implementations

impl Clone for Dealer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl AsSocket for Dealer
[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 Dealer
[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 Dealer
[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 Dealer
[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.