//! Ingestion stage: reads raw events from various sources.
pubmodjaeger;pubmodjson;pubmodotlp;pubmodpg_stat;pubmodzipkin;usecrate::event::SpanEvent;/// Trait for event ingestion sources.
pubtraitIngestSource{/// Error type for this source.
typeError:std::error::Error;/// Ingest events from the source and return them.
////// # Errors
////// Returns an error if the raw input cannot be parsed or exceeds size limits.
fningest(&self, raw:&[u8])->Result<Vec<SpanEvent>, Self::Error>;}