pub fn is_internal_db_error(error: &Error) -> boolExpand description
Return whether the error’s kind is InternalErrorKind::Database
§Panic
Panic if the error kind is InternalErrorKind::DataCorrupted.
If the database is corrupted, panic is better than handle it silently.