to_io_writer_with_options

Function to_io_writer_with_options 

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

Serialize a value as YAML into any [io::Write] target, with options. Options are consumed because anchor generator may be taken from them.