Skip to main content

Crate celerity

Crate celerity 

Source
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§

CelerityPeer
A single peer state machine that speaks ZMTP 3.1.
CurveConfig
Configuration for the CURVE security mechanism.
CurveKeyPair
A CURVE static keypair.
HwmConfig
High-water mark limits for inbound and outbound buffering.
MetadataMap
Case-preserving metadata exchanged during the ZMTP handshake.
PeerConfig
Configuration used to build a CelerityPeer.
SecurityConfig
Security configuration for a peer.
SecurityPolicy
Policy toggles applied before a peer is allowed to handshake.

Enums§

CipherSuite
The cryptographic suite used for CURVE traffic.
HwmPolicy
Queue behavior once a high-water mark is reached.
LinkScope
Whether a transport is confined to the local machine.
LocalAuthPolicy
Filesystem authorization policy for local IPC endpoints.
OutboundItem
An item submitted for outbound delivery.
PeerEvent
An event emitted by the peer state machine.
ProtocolAction
A low-level action produced by the peer state machine.
ProtocolError
A protocol-level failure reported by the sans-IO engine.
SecurityMechanism
The wire-level security mechanism used by a peer.
SecurityRole
The local role played during the security handshake.
SocketType
The messaging pattern a peer exposes on the wire.

Type Aliases§

Multipart
An ordered collection of message frames.