pub enum RepairCheck {
None,
Quick,
Full,
}Expand description
Which integrity check gates the open-time repair
Variants§
None
No open-time check; repair still runs when the file will not open or an operation hits corruption at runtime
Quick
PRAGMA quick_check: page structure only, misses index-vs-table disagreement
Full
PRAGMA integrity_check: the full verdict, catches everything sqlite can detect
Trait Implementations§
Source§impl Clone for RepairCheck
impl Clone for RepairCheck
Source§fn clone(&self) -> RepairCheck
fn clone(&self) -> RepairCheck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RepairCheck
Source§impl Debug for RepairCheck
impl Debug for RepairCheck
impl Eq for RepairCheck
Source§impl PartialEq for RepairCheck
impl PartialEq for RepairCheck
impl StructuralPartialEq for RepairCheck
Auto Trait Implementations§
impl Freeze for RepairCheck
impl RefUnwindSafe for RepairCheck
impl Send for RepairCheck
impl Sync for RepairCheck
impl Unpin for RepairCheck
impl UnsafeUnpin for RepairCheck
impl UnwindSafe for RepairCheck
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