pub struct OpenOutcome {
pub conn: Connection,
pub key_index: usize,
pub quarantined: Option<PathBuf>,
}Fields§
§conn: Connection§key_index: usizeIndex into the candidate list that opened the database (0 for a plain open).
quarantined: Option<PathBuf>Where the unreadable database was moved, when recovery quarantined it.
Trait Implementations§
Source§impl Debug for OpenOutcome
impl Debug for OpenOutcome
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 OpenOutcome
impl !RefUnwindSafe for OpenOutcome
impl !Sync for OpenOutcome
impl Send for OpenOutcome
impl Unpin for OpenOutcome
impl UnsafeUnpin for OpenOutcome
impl UnwindSafe for OpenOutcome
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