pub fn to_fmt_writer<W, T>(writer: &mut W, value: &T) -> Result<()>Expand description
Serialize a Rust value to YAML and write into a core::fmt::Write
sink — the no_std-friendly counterpart to to_writer.
§Errors
Error::Serialize— the destination’swrite_strreturnedfmt::Error, propagated throughError::Serialize.- All variants documented on
to_string.