pub fn parse_str(text: &str, format: &str) -> Result<Parsed, Error>Expand description
Parse in-memory case text of the named format (see
target_format_from_name). Returns Parsed: the network plus the
reader’s fidelity warnings.
§Errors
Error::UnknownFormat if format is unrecognized; the reader’s own
Error on malformed input.