pub enum VerificationMode {
Full,
OnRead,
}Expand description
Integrity work performed while opening a database.
Variants§
Full
Verify content checksums and the complete hash index before returning.
OnRead
Open from trusted metadata, then check record bounds and immutable data blocks on first access.
Trait Implementations§
Source§impl Clone for VerificationMode
impl Clone for VerificationMode
Source§fn clone(&self) -> VerificationMode
fn clone(&self) -> VerificationMode
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 VerificationMode
Source§impl Debug for VerificationMode
impl Debug for VerificationMode
Source§impl Default for VerificationMode
impl Default for VerificationMode
Source§fn default() -> VerificationMode
fn default() -> VerificationMode
Returns the “default value” for a type. Read more
impl Eq for VerificationMode
Source§impl PartialEq for VerificationMode
impl PartialEq for VerificationMode
impl StructuralPartialEq for VerificationMode
Auto Trait Implementations§
impl Freeze for VerificationMode
impl RefUnwindSafe for VerificationMode
impl Send for VerificationMode
impl Sync for VerificationMode
impl Unpin for VerificationMode
impl UnsafeUnpin for VerificationMode
impl UnwindSafe for VerificationMode
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