Enum yaml_merge_keys::MergeKeyError [−][src]
#[non_exhaustive]
pub enum MergeKeyError {
InvalidMergeValue,
}
Expand description
Errors which may occur when performing the YAML merge key process.
This enum is non_exhaustive
, but cannot be marked as such until it is stable. In the
meantime, there is a hidden variant.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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