[][src]Module async_zmq::prelude

The prelude re-exports most commonly used traits and macros from this crate.

Re-exports

pub use crate::dealer::dealer;
pub use crate::dealer::Dealer;
pub use crate::pair::pair;
pub use crate::pair::Pair;
pub use crate::publish::publish;
pub use crate::publish::Publish;
pub use crate::pull::pull;
pub use crate::pull::Pull;
pub use crate::push::push;
pub use crate::push::Push;
pub use crate::reply::reply;
pub use crate::reply::Reply;
pub use crate::request::request;
pub use crate::request::Request;
pub use crate::stream::stream;
pub use crate::stream::ZmqStream;
pub use crate::subscribe::subscribe;
pub use crate::subscribe::Subscribe;
pub use crate::xpublish::xpublish;
pub use crate::xpublish::XPublish;
pub use crate::xsubscribe::xsubscribe;
pub use crate::xsubscribe::XSubscribe;
pub use zmq;

Structs

Message

Holds a 0MQ message.

MessageBuf

Alias type for Message queue.

SocketBuilder

ZMQ socket builder. It lets user to either bind or connect the socket of their choice.

Enums

Error

An error returned by a 0MQ API function.

Traits

Sink

A Sink is a value into which other values can be sent, asynchronously.

SinkExt

An extension trait for Sinks that provides a variety of convenient combinator functions.

Stream

A stream of values produced asynchronously.

StreamExt

An extension trait for Streams that provides a variety of convenient combinator functions.

Type Definitions

Result

zmq-specific Result type.