Skip to main content

write_txi_with_options

Function write_txi_with_options 

Source
pub fn write_txi_with_options<W: Write>(
    writer: &mut W,
    txi: &Txi,
    _options: TxiWriteOptions,
) -> Result<(), TxiError>
Expand description

Writes TXI data to a writer with explicit serialization options.

ยงErrors

TxiError::TextEncoding when a command or its arguments have no form in the target encoding, and TxiError::Io when the writer fails. TXI is plain text with no widths to overflow, so those are the only two.