pub struct VerifyConfig {
pub check_page_numbers: bool,
pub check_space_ids: bool,
pub check_lsn_monotonicity: bool,
pub check_btree_levels: bool,
pub check_chain_bounds: bool,
pub check_trailer_lsn: bool,
}Expand description
Configuration for which checks to run.
Fields§
§check_page_numbers: boolCheck that page numbers in headers match their file position.
check_space_ids: boolCheck that all pages share the same space_id as page 0.
check_lsn_monotonicity: boolCheck that LSNs do not decrease significantly between pages.
check_btree_levels: boolCheck that B+Tree levels are within reasonable bounds on INDEX pages.
check_chain_bounds: boolCheck that prev/next chain pointers are within file bounds.
check_trailer_lsn: boolCheck that trailer LSN low-32 matches header LSN low-32.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VerifyConfig
impl RefUnwindSafe for VerifyConfig
impl Send for VerifyConfig
impl Sync for VerifyConfig
impl Unpin for VerifyConfig
impl UnsafeUnpin for VerifyConfig
impl UnwindSafe for VerifyConfig
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more