pub enum IntegrityCheck {
Off,
Quick,
Full,
}Expand description
Post-key, pre-pragma per-connection initializer (register functions, collations, …).
Open-time integrity check, selected by DbOptions::integrity.
Variants§
Off
No check at open (default).
Quick
PRAGMA quick_check: structural page checks, without the index-to-table cross-check. It
costs far less than Full on large databases.
Full
PRAGMA integrity_check, or PRAGMA cipher_integrity_check for a keyed database.
Trait Implementations§
Source§impl Clone for IntegrityCheck
impl Clone for IntegrityCheck
impl Copy for IntegrityCheck
Source§impl Debug for IntegrityCheck
impl Debug for IntegrityCheck
Source§impl Default for IntegrityCheck
impl Default for IntegrityCheck
impl Eq for IntegrityCheck
Source§impl PartialEq for IntegrityCheck
impl PartialEq for IntegrityCheck
impl StructuralPartialEq for IntegrityCheck
Auto Trait Implementations§
impl Freeze for IntegrityCheck
impl RefUnwindSafe for IntegrityCheck
impl Send for IntegrityCheck
impl Sync for IntegrityCheck
impl Unpin for IntegrityCheck
impl UnsafeUnpin for IntegrityCheck
impl UnwindSafe for IntegrityCheck
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