Struct tokio_zmq::socket::types::Xpub
[−]
[src]
pub struct Xpub { /* fields omitted */ }
The XPUB SocketType
wrapper type
Xpub implements StreamSocket
and SinkSocket
, and has an associated controlled variant.
Trait Implementations
impl From<(Socket, PollEvented2<File<ZmqFile>>)> for Xpub
[src]
impl AsSocket for Xpub
[src]
fn socket(self) -> Socket
[src]
Any type implementing AsSocket
must have a way of returning a reference to a Socket.
impl StreamSocket for Xpub
[src]
fn recv(self) -> MultipartResponse<Self>
[src]
Receive a single multipart message from the socket. Read more
fn stream(self) -> MultipartStream
[src]
Receive a stream of multipart messages from the socket. Read more
impl SinkSocket for Xpub
[src]
fn send(self, multipart: Multipart) -> MultipartRequest<Self>
[src]
Send a single multipart message to the socket. Read more
fn sink(self) -> MultipartSink
[src]
Send a stream of multipart messages to the socket. Read more