pub type YamlErrorTypeT = yaml_error_type_t;👎Deprecated since 0.0.6:
libyml is unmaintained. Migrate to a maintained alternative (unsafe-libyaml, yaml-rust2, or noyalib). See MIGRATION.md.
Expand description
Alias for unsafe_libyaml::yaml_error_type_t.
Aliased Type§
#[repr(u32)]pub enum YamlErrorTypeT {
YAML_NO_ERROR = 0,
YAML_MEMORY_ERROR = 1,
YAML_READER_ERROR = 2,
YAML_SCANNER_ERROR = 3,
YAML_PARSER_ERROR = 4,
YAML_COMPOSER_ERROR = 5,
YAML_WRITER_ERROR = 6,
YAML_EMITTER_ERROR = 7,
}Variants§
YAML_NO_ERROR = 0
No error is produced.
YAML_MEMORY_ERROR = 1
Cannot allocate or reallocate a block of memory.
YAML_READER_ERROR = 2
Cannot read or decode the input stream.
YAML_SCANNER_ERROR = 3
Cannot scan the input stream.
YAML_PARSER_ERROR = 4
Cannot parse the input stream.
YAML_COMPOSER_ERROR = 5
Cannot compose a YAML document.
YAML_WRITER_ERROR = 6
Cannot write to the output stream.
YAML_EMITTER_ERROR = 7
Cannot emit a YAML stream.