pub type Result<T> = Result<T, Error>;
A specialized Result type for lexers and parsers.
Result
pub enum Result<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value
Creates a result from the given error, which the value is always Err.
Err