Module yaml_rust2::yaml
source · Expand description
YAML objects manipulation utilities.
Structs§
YamlDecoder
is aYamlLoader
builder that allows you to supply your own encoding error trap. For example, to read a YAML file while ignoring Unicode decoding errors you can set theencoding_trap
toencoding::DecoderTrap::Ignore
.- An iterator over a
Yaml
node. - Main structure for quickly parsing YAML.
Enums§
- An error that happened when loading a YAML document.
- The behavior
YamlDecoder
must have when an decoding error occurs. - A YAML node is stored as this
Yaml
enumeration, which provides an easy way to access your YAML document.
Type Aliases§
- The type contained in the
Yaml::Array
variant. This corresponds to YAML sequences. - The type contained in the
Yaml::Hash
variant. This corresponds to YAML mappings. - The signature of the function to call when using
YAMLDecodingTrap::Call
.