pub struct PairConfig<'a> { /* private fields */ }
Expand description
The final builder step for the Pair socket type.
This contains all the information required to contstruct a valid PAIR socket
Implementations§
Source§impl<'a> PairConfig<'a>
impl<'a> PairConfig<'a>
Sourcepub fn do_build(self) -> Result<Socket, Error>
pub fn do_build(self) -> Result<Socket, Error>
Construct a raw Socket
type from the given PairConfig
This build takes the same arguments as the SockConfig
’s build method for convenience, but
this should not be called with zmq::SocketType
s other than zmq::PAIR
. The Pair
wrapper uses this builder, so it is better to use the Pair wrapper than directly building a
PAIR socket.
Auto Trait Implementations§
impl<'a> Freeze for PairConfig<'a>
impl<'a> !RefUnwindSafe for PairConfig<'a>
impl<'a> !Send for PairConfig<'a>
impl<'a> !Sync for PairConfig<'a>
impl<'a> Unpin for PairConfig<'a>
impl<'a> !UnwindSafe for PairConfig<'a>
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