[−][src]Struct async_zmq_types::PairConfig
The final builder step for the Pair socket type.
This contains all the information required to contstruct a valid PAIR socket
Methods
impl<'a> PairConfig<'a>
[src]
pub fn do_build(self) -> Result<Socket, Error>
[src]
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.
pub fn customize<F>(self, f: F) -> Self where
F: Fn(&Socket) + 'static,
[src]
F: Fn(&Socket) + 'static,
Provide a function for configuring the underlying ZeroMQ socket
Note: Only the last call to customize will apply to a given socket.
Documentation can be found here
Auto Trait Implementations
impl<'a> !Send for PairConfig<'a>
impl<'a> !Sync for PairConfig<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,