(error: &PristineError)
| 253 | } |
| 254 | |
| 255 | fn is_not_found(error: &PristineError) -> bool { |
| 256 | matches!(error, PristineError::Database(inner) |
| 257 | if matches!(inner.as_ref(), redb::DatabaseError::Storage(redb::StorageError::Io(io)) |
| 258 | if io.kind() == std::io::ErrorKind::NotFound)) |
| 259 | } |