Expand description
Packet pipeline for the HOPR protocol. HOPR packet processing pipeline.
Re-exportsยง
pub use builder::PacketPipelineBuilder;pub use builder::Unset;pub use config::AcknowledgementPipelineConfig;pub use config::PacketPipelineConfig;
Modulesยง
- builder ๐
- Builder for constructing the HOPR packet pipeline.
- config ๐
- Configuration structures for the HOPR packet processing pipeline.
Enumsยง
- Node
Type - Node type for which the packet processing pipeline is being constructed.
- Packet
Pipeline Processes
Constantsยง
- DEFAULT_
ACK_ ๐INPUT_ CONCURRENCY - Default concurrency for the incoming acknowledgement processing pipeline when not overridden
via
AcknowledgementPipelineConfig::ack_input_concurrency. - DEFAULT_
ACK_ ๐OUTPUT_ CONCURRENCY - Default concurrency for the outgoing acknowledgement processing pipeline when not overridden
via
AcknowledgementPipelineConfig::ack_output_concurrency. - PACKET_
DECODING_ ๐TIMEOUT - PACKET_
ENCODING_ ๐TIMEOUT - QUEUE_
SEND_ ๐TIMEOUT
Functionsยง
- run_
packet_ ๐pipeline_ inner - Shared implementation of the packet pipeline used by
PacketPipelineBuilderโs terminalbuild_for_*methods. - start_
exit_ ๐incoming_ ack_ pipeline - Drains incoming acknowledgements without forwarding them to an [
UnacknowledgedTicketProcessor]. - start_
incoming_ ๐packet_ pipeline - Performs HOPR protocol decoding of incoming packets into Application protocol packets.
- start_
outgoing_ ๐ack_ pipeline - start_
outgoing_ ๐packet_ pipeline - Performs encoding of outgoing Application protocol packets into HOPR protocol outgoing packets.
- start_
relay_ ๐incoming_ ack_ pipeline