[][src]Struct async_zmq_types::PairConfig

pub struct PairConfig<'a> { /* fields omitted */ }

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

pub fn customize<F>(self, f: F) -> Self where
    F: Fn(&Socket) + 'static, 
[src]

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]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]