1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! rzmq - A pure-Rust asynchronous ZeroMQ implementation using Tokio.
//!
//! This library aims to provide a compatible API with ZeroMQ patterns
//! while leveraging Rust's safety and Tokio's asynchronous capabilities.
// These modules encapsulate different aspects of the ZMQ implementation.
/// Defines the `Context`, which is the entry point for creating sockets.
/// Defines custom error types used throughout the library.
/// Contains types related to message representation (Msg, Blob, etc.).
/// Implements ZMTP (ZeroMQ Message Transport Protocol) details like greetings and commands.
/// Provides core asynchronous runtime primitives like mailboxes and events.
/// Handles security mechanisms (NULL, PLAIN, NOISE_XX) and ZAP.
/// Manages individual connection sessions, bridging sockets and engines.
/// Defines socket types, options, and the core socket actor logic.
/// Deals with network transport layers (TCP, IPC, Inproc).
pub
pub
// Re-export core types for user convenience, making them accessible directly
// from the crate root (e.g., `rzmq::ZmqError`, `rzmq::Socket`).
pub use Context;
pub use ZmqError;
pub use ;
pub use Command;
pub use ;
pub use CoreState;
// Socket and SocketType are fundamental for users.
pub use ;