Skip to main content

Enricher

Trait Enricher 

Source
pub trait Enricher {
    // Required method
    fn enrich(&self, log: Log) -> Log;
}
Expand description

Attaches per-record context. Implementations are stateless from the caller’s perspective — they read process / kernel state on each call.

Required Methods§

Source

fn enrich(&self, log: Log) -> Log

Return the given log with additional context attached.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Enricher for EbpfEnricher

Available on crate feature ebpf only.
Source§

impl Enricher for ProcessEnricher

Source§

impl<A: Enricher, B: Enricher> Enricher for Chain<A, B>