pub struct TransactionValidator { /* private fields */ }Expand description
Production-grade V2 WAL Transaction Validator with real backend integration
Implementations§
Source§impl TransactionValidator
impl TransactionValidator
Sourcepub fn new(graph_file_path: PathBuf) -> RecoveryResult<Self>
pub fn new(graph_file_path: PathBuf) -> RecoveryResult<Self>
Create new transaction validator with real V2 backend components
Sourcepub fn initialize(&mut self) -> RecoveryResult<()>
pub fn initialize(&mut self) -> RecoveryResult<()>
Initialize validator with real V2 graph file access
Sourcepub fn validate_transaction(
&mut self,
transaction: &TransactionState,
) -> RecoveryResult<ValidationResult>
pub fn validate_transaction( &mut self, transaction: &TransactionState, ) -> RecoveryResult<ValidationResult>
Validate a complete transaction with real V2 consistency checks
Auto Trait Implementations§
impl Freeze for TransactionValidator
impl RefUnwindSafe for TransactionValidator
impl Send for TransactionValidator
impl Sync for TransactionValidator
impl Unpin for TransactionValidator
impl UnwindSafe for TransactionValidator
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