Skip to main content

check_parser

Function check_parser 

Source
pub fn check_parser(doc: &Document, current: &ParserInfo) -> Result<(), Error>
Expand description

Refuses a document whose skeleton came from another crate or from a newer schema than current. Older schemas and skeletons with no record (written before stamps existed) are accepted; a crate that stops reading some old schema uses check_parser_min.