Expand description
§ndn-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 action::ForwardingAction;pub use action::NackReason;pub use context::DecodedPacket;pub use context::PacketContext;pub use stage::PipelineStage;
Modules§
Structs§
- AnyMap
- A type-erased map keyed by
TypeId.