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