run_with_writer

Function run_with_writer 

Source
pub(crate) async fn run_with_writer(
    app: &mut App,
    args: &CaptureArgs,
    writer: Option<PcapWriter>,
) -> Result<()>
Expand description

Capture into an already-built sink.

The extcap interface owns its own writer over Wireshark’s FIFO, so the two entry points differ only in where the sink came from.