enum RecoveryStrategy {
/// Discard the corrupted data and start with an empty database
Discard,
/// Move the corrupted data file to `$file.corrupt` and start with an empty database
Rename,
/// Bubble up the error on detecting a corrupted data file
Error,
}
See https://bugzilla.mozilla.org/show_bug.cgi?id=1645907#c11