Parser

Type Alias Parser 

Source
pub type Parser = SimpleQueryParser;

Aliased Type§

pub struct Parser;

Trait Implementations§

Source§

impl<'a> Parse<'a, ComponentParserInput<'a>> for Parser

Source§

type Output = &'a str

Source§

type Error = Option<ParseError>

Source§

fn parse( &self, input: ParserInput<'a>, ) -> Result<(Self::Output, &'a str), Self::Error>

Source§

fn parse_as_component( &self, input: Input, ) -> Result<Option<(Self::Output, &'a str)>, <Self::Error as IntoSkipOrFatal>::Fatal>
where Self::Error: IntoSkipOrFatal,