pub fn to_writer_with_config<W, T>(
writer: W,
value: &T,
config: &SerializerConfig,
) -> Result<()>Expand description
Serialize a Rust value to YAML and write to a
std::io::Write sink, using a custom SerializerConfig.
§Errors
Error::Io— the underlying writer returned an I/O error.- All variants documented on
to_string_with_config.