Skip to main content

write_to_string

Function write_to_string 

Source
pub fn write_to_string<S: AsRef<str>>(exchange: &Exchange<S>) -> Result<String>
Expand description

Writes an exchange to an owned UTF-8 string.

The physical syntax emitted by this crate is ASCII; text content is escaped.

ยงErrors

Returns std::io::ErrorKind::InvalidInput for invalid STEP syntax values.