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

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::SocketTypes 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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.