pub struct UnreadableRecovery {
pub conn: Connection,
pub key_index: usize,
pub quarantined: Option<PathBuf>,
pub action: RecoveryAction,
}Expand description
Result of an open that may have set an unreadable or corrupt database aside.
Fields§
§conn: Connection§key_index: usizeIndex of the key candidate that opened (always 0 here).
quarantined: Option<PathBuf>Where the old file went, when it was set aside.
action: RecoveryActionTrait Implementations§
Source§impl Debug for UnreadableRecovery
impl Debug for UnreadableRecovery
Source§impl From<UnreadableRecovery> for OpenOutcome
impl From<UnreadableRecovery> for OpenOutcome
Source§fn from(r: UnreadableRecovery) -> Self
fn from(r: UnreadableRecovery) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for UnreadableRecovery
impl !RefUnwindSafe for UnreadableRecovery
impl !Sync for UnreadableRecovery
impl Send for UnreadableRecovery
impl Unpin for UnreadableRecovery
impl UnsafeUnpin for UnreadableRecovery
impl UnwindSafe for UnreadableRecovery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more