Struct tokio_zmq::socket::types::Pub
[−]
[src]
pub struct Pub { /* fields omitted */ }
The PUB SocketType
wrapper type
Pub implements SinkSocket
.
Trait Implementations
impl Clone for Pub
[src]
fn clone(&self) -> Pub
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsSocket for Pub
[src]
fn socket(&self) -> &Socket
[src]
Any type implementing AsSocket
must have a way of returning a reference to a Socket.
fn into_socket(self) -> Socket
[src]
Any type implementing AsSocket
must have a way of consuming itself and returning a socket.
impl SinkSocket for Pub
[src]
fn send(&self, multipart: Multipart) -> MultipartRequest
[src]
Send a single multipart message to the socket. Read more
fn sink<E>(&self) -> MultipartSink<E> where
E: From<Error>,
[src]
E: From<Error>,
Send a stream of multipart messages to the socket. Read more