pub type ScanResult<T> = Result<T, ScanError>;