(error: &PristineError)
| 248 | } |
| 249 | |
| 250 | fn is_already_open(error: &PristineError) -> bool { |
| 251 | matches!(error, PristineError::Database(inner) |
| 252 | if matches!(inner.as_ref(), redb::DatabaseError::DatabaseAlreadyOpen)) |
| 253 | } |
| 254 | |
| 255 | fn is_not_found(error: &PristineError) -> bool { |
| 256 | matches!(error, PristineError::Database(inner) |