Struct tokio_zmq::socket::types::Push
[−]
[src]
pub struct Push { /* fields omitted */ }
The PUSH SocketType
wrapper type
Push implements SinkSocket
.
Trait Implementations
impl From<(Socket, PollEvented2<File<ZmqFile>>)> for Push
[src]
impl AsSocket for Push
[src]
fn socket(self) -> Socket
[src]
Any type implementing AsSocket
must have a way of returning a reference to a Socket.
impl SinkSocket for Push
[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