xz-knowledge-graph 0.2.0

Structured knowledge graph storage engine with graph traversal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod circular;
pub mod duplicate;
pub mod expiration;
pub mod orphan;

use crate::error::KgError;
use crate::types::consistency::ConsistencyIssue;

/// Consistency checker trait.
#[async_trait::async_trait]
pub trait ConsistencyChecker: Send + Sync {
    /// Run the check and return any issues found.
    async fn check(&self) -> Result<Vec<ConsistencyIssue>, KgError>;
}