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 !Freeze for Pair
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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