Skip to main content

parse_with_format

Function parse_with_format 

Source
pub fn parse_with_format(
    content: &str,
    format: FileFormat,
) -> Result<QueryHeader, ParseError>
Expand description

Parse content with the specified format

ยงErrors

Returns ParseError::ParseFailed if the content cannot be parsed with the specified format.