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

pub struct Req { /* fields omitted */ }

The REQ SocketType wrapper type

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

Trait Implementations

impl Clone for Req
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl AsSocket for Req
[src]

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

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

impl StreamSocket for Req
[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 Req
[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 Req
[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 Req

impl !Sync for Req