pub fn parse(source: Source) -> Result<RavensModule, Error>Expand description
Parse an MG-RAVENS document into the module its profile selects. The
source is declared ravens-json on the way in, so an extension or an
alias the caller passed does not matter; the module retains the source
for the byte exact echo on a same format write.
§Errors
The source cannot be read, the document carries both profiles
(PARSE.RAVENS.MIXED_PROFILE), or the owning reader refuses it, with that
reader’s findings and the source attached.