pub type Result<T> = Result<T, ScanError>;
Result type for scanner operations
pub enum Result<T> { Ok(T), Err(ScanError), }
Contains the success value
Contains the error value