[][src]Module libzmq::prelude

A "prelude" for users of the libzmq crate.

This prelude is similar to the standard library's prelude in that you'll almost always want to import its entire contents, but unlike the standard library's prelude you'll have to do so manually:

use libzmq::prelude::*;

The prelude may grow over time as additional items see ubiquitous use.

Traits

BuildHeartbeating

A set of provided methods for a socket builder.

BuildRecv

A set of provided methods for the builder of a socket that implements RecvMsg.

BuildSend

A set of provided methods for the builder of a socket that implements SendMsg.

BuildSocket

A set of provided methods for a socket builder.

ConfigureHeartbeating

A set of provided methods for a socket configuration.

ConfigureRecv

A set of provided methods for the configuration of a socket that implements RecvMsg.

ConfigureSend

A set of provided methods for the configuration of socket that implements SendMsg.

ConfigureSocket

A set of provided methods for a socket configuration.

Heartbeating

A trait that indicates that the socket supports configurable heartbeating.

RecvMsg

Receive atomic messages in an immutable, thread-safe fashion.

SendMsg

Send messages in a thread-safe fashion.

Socket

Methods shared by all thread-safe sockets.

TryFrom

Simple and safe type conversions that may fail in a controlled way under some circumstances. It is the reciprocal of TryInto.

TryInto

An attempted conversion that consumes self, which may or may not be expensive.