Crate rust_logic_graph

Crate rust_logic_graph 

Source

Re-exports§

pub use cache::CacheConfig;
pub use cache::CacheManager;
pub use cache::EvictionPolicy;
pub use core::Context;
pub use core::Edge;
pub use core::ExecutionMetrics;
pub use core::Executor;
pub use core::Graph;
pub use core::GraphDef;
pub use core::NodeConfig;
pub use core::NodeExecutionStats;
pub use error::ErrorCategory;
pub use error::ErrorContext;
pub use error::Result as RLGResult;
pub use error::RustLogicGraphError;
pub use fault_tolerance::CircuitBreaker;
pub use fault_tolerance::CircuitConfig;
pub use fault_tolerance::CircuitState;
pub use fault_tolerance::FailoverManager;
pub use fault_tolerance::HealthMonitor;
pub use fault_tolerance::HealthStatus;
pub use fault_tolerance::ServiceEndpoint;
pub use io::GraphIO;
pub use memory::AllocationTracker;
pub use memory::ContextPool;
pub use memory::MemoryMetrics;
pub use memory::PoolConfig;
pub use multi_db::DistributedTransaction;
pub use multi_db::JoinStrategy;
pub use multi_db::ParallelDBExecutor;
pub use multi_db::QueryCorrelator;
pub use multi_db::TransactionCoordinator;
pub use node::AINode;
pub use node::DBNode;
pub use node::DatabaseExecutor;
pub use node::GrpcNode;
pub use node::MockDatabaseExecutor;
pub use node::Node;
pub use node::NodeType;
pub use node::RuleNode;
pub use orchestrator::Orchestrator;
pub use rule::Rule;
pub use rule::RuleEngine;
pub use rule::RuleError;
pub use rule::RuleResult;
pub use saga::*;

Modules§

bench_helpers
cache
Caching layer for node execution results
core
distributed
Distributed Context Sharing
error
Rich error handling for Rust Logic Graph
fault_tolerance
integrations
Integration modules for databases and AI services
io
memory
Memory optimization utilities
multi_db
node
orchestrator
parallel
Parallel execution module
rule
saga
Saga Pattern Implementation Transaction coordinator, compensation, state persistence, timeout/deadline
streaming
Streaming processing module

Structs§

EngineConfig
Configuration options for the rule engine
Facts
Facts - represents the working memory of data objects Similar to Grule’s DataContext concept
GRLParser
GRL Parser - No Regex Version
KnowledgeBase
Knowledge Base - manages collections of rules and facts Similar to Grule’s KnowledgeBase concept
RustRuleEngine
Rust Rule Engine - High-performance rule execution engine

Enums§

RuleValue
Represents a value that can be used in rule conditions and actions