usereader::lexer::token::Token;usestd::io::Read;useResult;/// Trait implemented by RDF lexer.
pubtraitRdfLexer<R: Read> {/// Constructor.
fnnew(input: R)->Self;/// Determines the next token from the input.
fnget_next_token(&mutself)->Result<Token>;// Determines the next token without consuming it.
fnpeek_next_token(&mutself)->Result<Token>;}