Skip to main content

check_compat

Function check_compat 

Source
pub fn check_compat(old: &SchemaNode, new: &SchemaNode, role: Role) -> bool
Expand description

Top‑level convenience wrapper:

  • Role::Serializer   ⇒   new ⊆ old
  • Role::Deserializer ⇒   old ⊆ new
  • Role::Both         ⇒   bidirectional inclusion