pub enum DatabaseScanMode {
Inspect,
Verify,
}Expand description
Controls whether segment framing / catalog decode runs during scan_database_file.
Variants§
Inspect
Like CLI inspect: skip segment scan when no valid superblock is selected.
Verify
Like CLI verify: always require the segment region and run a full segment scan.
Trait Implementations§
Source§impl Clone for DatabaseScanMode
impl Clone for DatabaseScanMode
Source§fn clone(&self) -> DatabaseScanMode
fn clone(&self) -> DatabaseScanMode
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 DatabaseScanMode
Source§impl Debug for DatabaseScanMode
impl Debug for DatabaseScanMode
impl Eq for DatabaseScanMode
Source§impl PartialEq for DatabaseScanMode
impl PartialEq for DatabaseScanMode
Source§fn eq(&self, other: &DatabaseScanMode) -> bool
fn eq(&self, other: &DatabaseScanMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DatabaseScanMode
Auto Trait Implementations§
impl Freeze for DatabaseScanMode
impl RefUnwindSafe for DatabaseScanMode
impl Send for DatabaseScanMode
impl Sync for DatabaseScanMode
impl Unpin for DatabaseScanMode
impl UnsafeUnpin for DatabaseScanMode
impl UnwindSafe for DatabaseScanMode
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