Expand description
ModuForge-RS 核心模块
该模块提供了框架的核心功能,包括:
- 异步处理器和运行时
- 事件系统
- 扩展机制
- 流程控制
- 错误处理
- 历史记录管理
- 中间件支持
- 节点系统
- 类型定义
主要组件:
async_processor
: 异步任务处理器async_runtime
: 异步运行时环境error
: 错误类型和处理event
: 事件系统extension
: 扩展机制flow
: 流程控制history_manager
: 历史记录管理middleware
: 中间件支持node
: 节点系统types
: 核心类型定义
Re-exports§
pub use error::ForgeResult;
pub use error::error_utils;
pub use runtime::async_processor::AsyncProcessor;
pub use runtime::async_processor::ProcessorError;
pub use runtime::async_processor::TaskProcessor;
pub use runtime::async_processor::TaskResult;
pub use runtime::async_processor::TaskStatus;
pub use runtime::async_runtime::ForgeAsyncRuntime;
pub use config::ForgeConfig;
pub use config::ForgeConfigBuilder;
pub use config::Environment;
pub use config::ProcessorConfig;
pub use config::PerformanceConfig;
pub use config::EventConfig;
pub use config::HistoryConfig;
pub use config::ExtensionConfig;
pub use config::CacheConfig;
pub use config::ConfigValidationError;
pub use error::ForgeError;
pub use event::Event;
pub use event::EventBus;
pub use event::EventHandler;
pub use extension::Extension;
pub use extension_manager::ExtensionManager;
pub use extension_manager::ExtensionManagerBuilder;
pub use history_manager::History;
pub use history_manager::HistoryManager;
pub use runtime::runtime::ForgeRuntime;
pub use schema_parser::XmlSchemaParser;
pub use schema_parser::XmlSchemaSerializer;
pub use schema_parser::XmlSchemaError;
pub use schema_parser::XmlSchemaResult;
pub use runtime::sync_processor::SyncProcessor;
pub use runtime::sync_processor::TaskProcessor as SyncTaskProcessor;
pub use types::*;
Modules§
- config
- 统一配置管理模块
- error
- event
- extension
- extension_
manager - helpers
- history_
manager - mark
- metrics
- middleware
- model
- 重命名
- node
- runtime
- schema_
parser - XML Schema 解析与序列化模块
- snapshot
- state
- 重命名
- transform
- 重命名
- types