Expand description
Module: zmq
Re-exports
pub use crate::SocketType::*;
Structs
Handle for a 0MQ context, used to create sockets.
A CURVE key pair generated by 0MQ.
Holds a 0MQ message.
Type representing pending socket events.
Represents a handle that can be poll()
ed.
A socket, the central object in 0MQ.
Enums
Errors that can occur while decoding Z85.
Errors that can occur while encoding Z85.
An error returned by a 0MQ API function.
Security Mechanism
Socket Events
Socket types
Constants
For poll()
, specifies to signal when an error condition is
present on a socket. This only applies to non-0MQ sockets.
For poll()
, specifies to signal when a message/some data can be
read from a socket.
For poll()
, specifies to signal when a message/some data can be
written to a socket.
Statics
Flag for socket send
methods that specifies non-blocking mode.
Flag for socket send
methods that specifies that more frames of a
multipart message will follow.
Traits
Sendable over a Socket
.
Functions
Return true if the used 0MQ library has the given capability.
Poll for events on multiple sockets.
Start a 0MQ proxy in the current thread.
Start a 0MQ proxy in the current thread, with a control socket.
Start a 0MQ proxy in the current thread, with capture and control sockets.
Start a 0MQ proxy in the current thread, with a capture socket.
Return the current zeromq version, as (major, minor, patch)
.
Decode a binary key from Z85-encoded text.
Encode a binary key as Z85 printable text.
Type Definitions
zmq
-specific Result type.