pub struct IntegrityChecker { /* private fields */ }Expand description
Main integrity checker
Implementations§
Source§impl IntegrityChecker
impl IntegrityChecker
Sourcepub async fn new(config: IntegrityConfig) -> RragResult<Self>
pub async fn new(config: IntegrityConfig) -> RragResult<Self>
Create new integrity checker
Sourcepub async fn quick_check(&self) -> RragResult<ConsistencyReport>
pub async fn quick_check(&self) -> RragResult<ConsistencyReport>
Perform quick integrity check
Sourcepub async fn comprehensive_check(&self) -> RragResult<ConsistencyReport>
pub async fn comprehensive_check(&self) -> RragResult<ConsistencyReport>
Perform comprehensive integrity check
Sourcepub async fn get_health_metrics(&self) -> HealthMetrics
pub async fn get_health_metrics(&self) -> HealthMetrics
Get current health metrics
Sourcepub async fn get_stats(&self) -> IntegrityStats
pub async fn get_stats(&self) -> IntegrityStats
Get integrity statistics
Sourcepub async fn get_check_history(
&self,
limit: Option<usize>,
) -> RragResult<Vec<ConsistencyReport>>
pub async fn get_check_history( &self, limit: Option<usize>, ) -> RragResult<Vec<ConsistencyReport>>
Get check history
Sourcepub async fn health_check(&self) -> RragResult<bool>
pub async fn health_check(&self) -> RragResult<bool>
Health check
Auto Trait Implementations§
impl Freeze for IntegrityChecker
impl !RefUnwindSafe for IntegrityChecker
impl Send for IntegrityChecker
impl Sync for IntegrityChecker
impl Unpin for IntegrityChecker
impl !UnwindSafe for IntegrityChecker
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