Struct tokio_zmq::socket::types::Pub [−][src]
pub struct Pub { /* fields omitted */ }
The PUB SocketType
wrapper type
Pub implements SinkSocket
.
Trait Implementations
impl From<(Socket, PollEvented<File<ZmqFile>>)> for Pub
[src]
impl From<(Socket, PollEvented<File<ZmqFile>>)> for Pub
impl AsSocket for Pub
[src]
impl AsSocket for Pub
fn socket(self) -> Socket
[src]
fn socket(self) -> Socket
Any type implementing AsSocket
must have a way of returning a reference to a Socket.
impl SinkSocket for Pub
[src]
impl SinkSocket for Pub
fn send(self, multipart: Multipart) -> MultipartRequest<Self>
[src]
fn send(self, multipart: Multipart) -> MultipartRequest<Self>
Send a single multipart message to the socket. Read more
fn sink(self) -> MultipartSink
[src]
fn sink(self) -> MultipartSink
Send a stream of multipart messages to the socket. Read more
impl<'a> TryFrom<SockConfig<'a>> for Pub
[src]
impl<'a> TryFrom<SockConfig<'a>> for Pub