Expand description
§ndn_engine::pipeline — Packet processing pipeline stages
Defines the fixed-stage pipeline through which every NDN packet flows.
Each stage receives a PacketContext by value and returns an Action
that drives dispatch (Continue, Send, Satisfy, Drop, Nack).
§Key types
PipelineStage— trait implemented by each processing stepPacketContext— per-packet state passed by value through the pipelineAction— enum controlling packet fate after each stageDecodedPacket— lazily-decoded Interest or DataBoxedStage— type-erased pipeline stage (Box<dyn PipelineStage>)
Re-exports§
pub use action::Action;pub use action::DropReason;pub use context::DecodedPacket;pub use context::PacketContext;pub use stage::PipelineStage;
Modules§
Structs§
- AnyMap
- A type-erased map keyed by
TypeId.
Enums§
- Forwarding
Action - The forwarding decision returned by a
Strategy. - Nack
Reason - Reason for a Nack.