Skip to main content

to_fmt_writer

Function to_fmt_writer 

Source
pub fn to_fmt_writer<W: Write, T: Serialize>(
    output: &mut W,
    value: &T,
) -> Result<(), Error>
Expand description

Serialize a value as YAML into any std::fmt::Write target.