Struct tokio_zmq::Socket

source ·
pub struct Socket { /* private fields */ }
Expand description

Defines the raw Socket type. This type should never be interacted with directly, except to create new instances of wrapper types.

Implementations§

Start a new Socket Config builder

Retrieve a Reference-Counted Pointer to self’s socket.

Create a new socket from a given Sock and File

This assumes that sock is already configured properly. Please don’t call this directly unless you know what you’re doing.

Create a new socket from a given Sock

This assumes that sock is already configured properly. Please don’t call this directly unless you know what you’re doing.

Trait Implementations§

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
The future that sends a multipart to a ZMQ socket
The future that receives a multipart from a ZMQ socket
A Sink that sends multiparts to a ZMQ socket
A Stream of multiparts received from a ZMQ socket
A Sink and Stream that sends and receives multiparts from a ZMQ 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.

Converts the given value to a String. Read more
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.