pub fn validate_node(node: &DecodedNode) -> Result<()>Expand description
Validate node against the format-version-0 invariants.
ยงErrors
Returns Error::BTreeInvariantViolated if any invariant fails.
Callers can debug_assert! on a wrapping helper for development
builds; release builds get the error surfaced cleanly.