Expand description
Transport binary protocol layer (codec, pipeline, heartbeat, stream). Collection of objects and functionality allowing building of p2p or stream protocols for the higher business logic layers.
§Contents
Supported protocol configurations:
mixackheartbeat
Re-exports§
pub use counters::PeerProtocolCounterRegistry;pub use counters::PeerProtocolCounters;
Modules§
- codec 🔒
- Coder and decoder for the transport binary protocol layer
- counters
- Per-peer protocol conformance counters.
- errors
- Errors produced by the crate.
- heartbeat
heartbeatp2p protocol- pipeline 🔒
- Packet pipeline for the HOPR protocol. HOPR packet processing pipeline.
- stream
- Stream processing utilities
Infrastructure supporting converting a collection of
PeerIdsplitlibp2p_streammanaged individual peer-to-peerlibp2p::swarm::Streams.
Structs§
- Acknowledgement
Pipeline Config - Configuration for the acknowledgement processing pipeline.
- Packet
Pipeline Builder - Builder for constructing the HOPR packet pipeline for a specific node type.
- Packet
Pipeline Config - Overall configuration of the input/output packet processing pipeline.
- Unset
- Placeholder type used by
PacketPipelineBuilderfor generic parameters that have not yet been provided via the corresponding builder method.
Enums§
- Node
Type - Node type for which the packet processing pipeline is being constructed.
- Packet
Pipeline Processes