pub struct Xsub { /* private fields */ }
Expand description
The XSUB SocketType
wrapper type
Xsub implements StreamSocket
and SinkSocket
, and has an associated controlled variant.
Trait Implementations§
source§impl From<(Socket, PollEvented<ZmqFile>)> for Xsub
impl From<(Socket, PollEvented<ZmqFile>)> for Xsub
source§fn from(inner: (Socket, EventedFile)) -> Self
fn from(inner: (Socket, EventedFile)) -> Self
Converts to this type from the input type.
source§impl IntoInnerSocket for Xsub
impl IntoInnerSocket for Xsub
source§impl SinkSocket for Xsub
impl SinkSocket for Xsub
source§impl StreamSocket for Xsub
impl StreamSocket for Xsub
impl UnPair for Xsub
Auto Trait Implementations§
impl !RefUnwindSafe for Xsub
impl Send for Xsub
impl !Sync for Xsub
impl Unpin for Xsub
impl !UnwindSafe for Xsub
Blanket Implementations§
source§impl<T> HasBuilder for Twhere
T: IntoInnerSocket,
impl<T> HasBuilder for Twhere
T: IntoInnerSocket,
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
) -> <<T as IntoInnerSocket>::Socket as InnerSocket<T>>::SinkStream
fn sink_stream(
self,
buffer_size: usize
) -> <<T as IntoInnerSocket>::Socket as InnerSocket<T>>::SinkStream
Retrieve a structure that implements both Sync and Stream. Read more