pub struct Xpub { /* private fields */ }
Expand description
The XPUB SocketType
wrapper type
Xpub implements StreamSocket
and SinkSocket
, and has an associated controlled variant.
Trait Implementations§
source§impl From<(Socket, PollEvented<ZmqFile>)> for Xpub
impl From<(Socket, PollEvented<ZmqFile>)> for Xpub
source§fn from(tup: (Socket, EventedFile)) -> Self
fn from(tup: (Socket, EventedFile)) -> Self
Converts to this type from the input type.
source§impl SinkSocket for Xpub
impl SinkSocket for Xpub
source§impl StreamSocket for Xpub
impl StreamSocket for Xpub
source§fn recv(self) -> MultipartResponse<Self>
fn recv(self) -> MultipartResponse<Self>
Receive a single multipart message from the socket. Read more
source§fn stream(self) -> MultipartStream
fn stream(self) -> MultipartStream
Receive a stream of multipart messages from the socket. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Xpub
impl Send for Xpub
impl !Sync for Xpub
impl Unpin for Xpub
impl !UnwindSafe for Xpub
Blanket Implementations§
source§impl<T> HasBuilder for Twhere
T: AsSocket,
impl<T> HasBuilder for Twhere
T: AsSocket,
source§impl<T> SinkStreamSocket for Twhere
T: StreamSocket + SinkSocket,
impl<T> SinkStreamSocket for Twhere
T: StreamSocket + SinkSocket,
source§fn sink_stream(self, buffer_size: usize) -> MultipartSinkStream
fn sink_stream(self, buffer_size: usize) -> MultipartSinkStream
Retrieve a structure that implements both Sync and Stream. Read more