Struct tokio_zmq::socket::Socket [] [src]

pub struct Socket { /* fields omitted */ }

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

Methods

impl Socket
[src]

[src]

Start a new Socket Config builder

[src]

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

[src]

Retrieve a Reference-Counted Pointer to self's file.

[src]

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.

[src]

Create a ControlledSocket from this and a controller socket

The resulting ControlledSocket receives it's main data from the current socket, and control commands from the control socket.

[src]

Retrieve a Sink that consumes Multiparts, sending them to the socket

[src]

Retrieve a Stream that produces Multiparts, getting them from the socket

[src]

Retrieve a stream that produces Multiparts. This stream has an end condition

[src]

Retrieve a Future that consumes a multipart, sending it to the socket

[src]

Retrieve a Future that produces a multipart, getting it fromthe socket

Trait Implementations

impl Clone for Socket
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more