pub fn export_multi(
input: &Path,
opts: &MultiExportOptions,
) -> Result<MultiExportReport, ExportError>Expand description
Export packets from input to one or more simultaneous outputs in a single
streaming pass.
A bounded channel decouples the PCAP producer thread from the consumer thread that fans each record out to all sinks. Memory usage is O(channel capacity + per-sink buffer) regardless of capture size.
ยงErrors
Returns ExportError on I/O failure, format detection failure, or
serialisation error. If any sink fails mid-stream the producer is signalled
to stop and the first error is returned.