pub struct Pair { /* private fields */ }
Expand description
The PAIR SocketType
wrapper type.
Pair implements StreamSocket
and SinkSocket
, and has an associated controlled variant.
Trait Implementations§
source§impl<'a> Build<Pair> for PairConfig<'a>
impl<'a> Build<Pair> for PairConfig<'a>
source§impl From<(Socket, PollEvented<ZmqFile>)> for Pair
impl From<(Socket, PollEvented<ZmqFile>)> for Pair
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 Pair
impl IntoInnerSocket for Pair
source§impl SinkSocket for Pair
impl SinkSocket for Pair
source§impl StreamSocket for Pair
impl StreamSocket for Pair
impl Pair for Pair
Auto Trait Implementations§
impl !RefUnwindSafe for Pair
impl Send for Pair
impl !Sync for Pair
impl Unpin for Pair
impl !UnwindSafe for Pair
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