pub type ParseResult = Result<(Event, Marker), ScanError>;
enum ParseResult { Ok((Event, Marker)), Err(ScanError), }
Contains the success value
Contains the error value