pub struct SocketBuilder<'a, T>where
    T: IntoInnerSocket,
{ /* private fields */ }
Expand description

The root struct for a Socket builder

This struct contains a context and an identity.

Implementations

Create a new Socket builder

All sockets that are created through the Async ZMQ Types library will use this as the base for their socket builder (except PAIR sockets).

Give the socket a custom identity

Bind the socket to an address

Since this is just part of the builder, and the socket doesn’t exist yet, we store the address for later retrieval.

Connect the socket to an address

Since this is just part of the builder, and the socket doesn’t exist yet, we store the address for later retrieval.

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.