pub struct PitMatchStage {
pub pit: Arc<Pit>,
}Expand description
Matches a Data packet against the PIT.
Collects in-record faces into ctx.out_faces, removes the PIT entry,
and returns Action::Continue(ctx) so CsInsertStage can cache the Data.
If no matching PIT entry is found, the Data is unsolicited — drop it.
Fields§
§pit: Arc<Pit>Implementations§
Source§impl PitMatchStage
impl PitMatchStage
pub fn process(&self, ctx: PacketContext) -> Action
Auto Trait Implementations§
impl Freeze for PitMatchStage
impl !RefUnwindSafe for PitMatchStage
impl Send for PitMatchStage
impl Sync for PitMatchStage
impl Unpin for PitMatchStage
impl !UnwindSafe for PitMatchStage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more