pub struct PostImportValidator { /* private fields */ }Expand description
Post-import validator for recovery verification
Implementations§
Source§impl PostImportValidator
impl PostImportValidator
Sourcepub fn new(wal_path: PathBuf, graph_path: PathBuf, expected_lsn: u64) -> Self
pub fn new(wal_path: PathBuf, graph_path: PathBuf, expected_lsn: u64) -> Self
Create post-import validator
Sourcepub fn with_expected_recovery_state(self, state: ExplicitRecoveryState) -> Self
pub fn with_expected_recovery_state(self, state: ExplicitRecoveryState) -> Self
Set expected recovery state
Sourcepub fn validate_recovery(&self) -> NativeResult<ExplicitRecoveryState>
pub fn validate_recovery(&self) -> NativeResult<ExplicitRecoveryState>
Run recovery validation after import
Sourcepub fn validate_consistency(&self) -> NativeResult<()>
pub fn validate_consistency(&self) -> NativeResult<()>
Verify final database state consistency
Sourcepub fn validate_lsn_boundaries(&self) -> NativeResult<()>
pub fn validate_lsn_boundaries(&self) -> NativeResult<()>
Validate LSN boundaries match expectations
Sourcepub fn validate(&self) -> NativeResult<()>
pub fn validate(&self) -> NativeResult<()>
Perform comprehensive post-import validation
Auto Trait Implementations§
impl Freeze for PostImportValidator
impl RefUnwindSafe for PostImportValidator
impl Send for PostImportValidator
impl Sync for PostImportValidator
impl Unpin for PostImportValidator
impl UnwindSafe for PostImportValidator
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