Expand description
TOML 配置文件的数据结构与加载逻辑。
配置示例见 config/config.toml.example。
Structs§
- Config
- 整个配置文件:多个命名 MySQL / Redis 连接。
- Mysql
Config - 单个 MySQL 连接的配置。
- Redis
Config - 单个 Redis 连接的配置。
Traits§
- Into
Mysql Name - MySQL 连接名的抽象,用户可为枚举实现此 trait 以获得编译时检查。
- Into
Redis Name - Redis 连接名的抽象,用户可为枚举实现此 trait 以获得编译时检查。