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