Enum yaml_merge_keys::ErrorKind
[−]
pub enum ErrorKind { Msg(String), InvalidMergeValue, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
InvalidMergeValue
A non-hash value was given as a value to merge into a hash.
This happens with a document such as:
-
<<: 4
x: 1
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.