Skip to main content

write_yaml

Function write_yaml 

Source
pub fn write_yaml<W: Write>(
    writer: &mut W,
    namespaces: &[NamespaceInfo],
) -> Result<(), Box<dyn Error>>
Expand description

Writes namespaces as YAML to the given writer.

ยงErrors

Returns an error if serialization or writing fails.