pub fn sort_file(
input: &Path,
opts: &SortOptions,
) -> Result<SortReport, SortError>Expand description
Sort input chronologically and write the result according to opts.
Thin wrapper around sort_files for the common single-input case.
PCAPng input is not yet supported and returns SortError::PcapNgNotSupported.
ยงErrors
Returns SortError on I/O failure, unsupported input format, or
invalid slice specification.