Skip to main content

Module output

Module output 

Source
Expand description

Output formatters: txt, srt, json — and secure file commit transactions.

Formatters stream into any io::Write with a byte budget (JOE-1604).

Re-exports§

pub use transaction::commit_text;
pub use transaction::CommitMode;
pub use transaction::OutputTransaction;
pub use transaction::SymlinkPolicy;

Modules§

transaction
Shared secure output transaction for STT, cleanup, and TTS (JOE-1644).

Enums§

OutputFormat
Supported output formats.

Constants§

DEFAULT_MAX_OUTPUT_BYTES
Default maximum serialized output size (32 MiB).

Functions§

format_result
Format a transcription result into the requested representation.
format_result_with_limit
Like format_result with an explicit byte budget.
write_result
Write formatted output to a writer (streaming; no intermediate full String for SRT cues).
write_result_to_path
Format and commit a transcription result through the shared output transaction.
write_result_to_path_with_limit
Like write_result_to_path with an explicit byte budget.
write_result_with_limit
Stream format into writer with a maximum output size.