Expand description
Connection Pool
Provides async connection pooling with configurable options
Structs§
- Pool
- 连接池核心实现
- Pool
Config - Pool
Config Builder - Pool
Status - Pooled
Connection - 连接池中的连接条目,记录创建时间和最后使用时间
- TlsConfig
- TLS 配置
Enums§
- Pool
Event - 连接池事件
- TlsVersion
- TLS 版本
Traits§
- Connection
- 数据库连接 trait
- Connection
Factory - 连接工厂 trait,用于创建新连接
Type Aliases§
- Pool
Event Callback - 连接池事件回调
- Query
Rows - 查询结果行:
Vec<HashMap<列名, 值>> - Query
Stream Item - 流式查询结果项类型别名:避免
Connection::query_stream签名触发clippy::type_complexity。