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 Clone for Xpub
[src]
impl Clone for Xpub
fn clone(&self) -> Xpub
[src]
fn clone(&self) -> Xpub
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl AsSocket for Xpub
[src]
impl AsSocket for Xpub
fn socket(&self) -> &Socket
[src]
fn socket(&self) -> &Socket
Any type implementing AsSocket
must have a way of returning a reference to a Socket.
fn into_socket(self) -> Socket
[src]
fn into_socket(self) -> Socket
Any type implementing AsSocket
must have a way of consuming itself and returning a socket.
impl StreamSocket for Xpub
[src]
impl StreamSocket for Xpub
fn recv(&self) -> MultipartResponse
[src]
fn recv(&self) -> MultipartResponse
Receive a single multipart message from the socket. Read more
fn stream(&self) -> MultipartStream
[src]
fn stream(&self) -> MultipartStream
Receive a stream of multipart messages from the socket. Read more
impl SinkSocket for Xpub
[src]
impl SinkSocket for Xpub
fn send(&self, multipart: Multipart) -> MultipartRequest
[src]
fn send(&self, multipart: Multipart) -> MultipartRequest
Send a single multipart message to the socket. Read more
fn sink<E>(&self) -> MultipartSink<E> where
E: From<Error>,
[src]
fn sink<E>(&self) -> MultipartSink<E> where
E: From<Error>,
Send a stream of multipart messages to the socket. Read more
impl<'a> TryFrom<SockConfig<'a>> for Xpub
[src]
impl<'a> TryFrom<SockConfig<'a>> for Xpub