Expand description
Sans-IO ZMTP 3.1 primitives with optional Tokio transport adapters.
The crate exposes the core peer state machine, messaging-pattern helpers, protocol configuration, and optional Tokio-based socket wrappers.
Re-exports§
pub use pattern::PatternAction;pub use pattern::PubCore;pub use pattern::RepCore;pub use pattern::ReqCore;pub use pattern::SubCore;
Modules§
- io
- Tokio transport adapters and higher-level socket wrappers.
- pattern
- Messaging-pattern state machines built on top of peer events.
Structs§
- Celerity
Peer - A single peer state machine that speaks ZMTP 3.1.
- Curve
Config - Configuration for the CURVE security mechanism.
- Curve
KeyPair - A CURVE static keypair.
- HwmConfig
- High-water mark limits for inbound and outbound buffering.
- Metadata
Map - Case-preserving metadata exchanged during the ZMTP handshake.
- Peer
Config - Configuration used to build a
CelerityPeer. - Security
Config - Security configuration for a peer.
- Security
Policy - Policy toggles applied before a peer is allowed to handshake.
Enums§
- Cipher
Suite - The cryptographic suite used for CURVE traffic.
- HwmPolicy
- Queue behavior once a high-water mark is reached.
- Link
Scope - Whether a transport is confined to the local machine.
- Local
Auth Policy - Filesystem authorization policy for local IPC endpoints.
- Outbound
Item - An item submitted for outbound delivery.
- Peer
Event - An event emitted by the peer state machine.
- Protocol
Action - A low-level action produced by the peer state machine.
- Protocol
Error - A protocol-level failure reported by the sans-IO engine.
- Security
Mechanism - The wire-level security mechanism used by a peer.
- Security
Role - The local role played during the security handshake.
- Socket
Type - The messaging pattern a peer exposes on the wire.
Type Aliases§
- Multipart
- An ordered collection of message frames.