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