pub enum SnapshotValidation {
Full,
StructureOnly,
}Expand description
Integrity policy used while opening a memory-mapped snapshot.
Variants§
Full
Validate structure, finite vectors, and the full payload checksum.
StructureOnly
Validate all ranges and graph references without scanning the checksum.
Trait Implementations§
Source§impl Clone for SnapshotValidation
impl Clone for SnapshotValidation
Source§fn clone(&self) -> SnapshotValidation
fn clone(&self) -> SnapshotValidation
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 SnapshotValidation
Source§impl Debug for SnapshotValidation
impl Debug for SnapshotValidation
Source§impl Default for SnapshotValidation
impl Default for SnapshotValidation
Source§fn default() -> SnapshotValidation
fn default() -> SnapshotValidation
Returns the “default value” for a type. Read more
impl Eq for SnapshotValidation
Source§impl PartialEq for SnapshotValidation
impl PartialEq for SnapshotValidation
impl StructuralPartialEq for SnapshotValidation
Auto Trait Implementations§
impl Freeze for SnapshotValidation
impl RefUnwindSafe for SnapshotValidation
impl Send for SnapshotValidation
impl Sync for SnapshotValidation
impl Unpin for SnapshotValidation
impl UnsafeUnpin for SnapshotValidation
impl UnwindSafe for SnapshotValidation
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