Expand description
ModuForge-RS 状态管理模块
该模块负责管理应用程序的状态,包括:
- 状态管理
- 事务处理
- 资源管理
- 插件系统
- 日志系统
主要组件:
error
: 错误类型和处理gotham_state
: Gotham 状态管理logging
: 日志系统ops
: 操作定义plugin
: 插件系统resource
: 资源管理resource_table
: 资源表state
: 状态管理transaction
: 事务处理
核心类型:
State
: 状态管理StateConfig
: 状态配置Configuration
: 配置管理Transaction
: 事务处理
Re-exports§
pub use state::State;
pub use state::StateConfig;
pub use state::Configuration;
pub use transaction::Transaction;
Modules§
Macros§
- debug
- Constructs an event at the debug level.
- error
- Constructs an event at the error level.
- info
- Constructs an event at the info level.
- warn
- Constructs an event at the warn level.
Functions§
- init_
logging - 初始化日志系统