Skip to main content

Module pool

Module pool 

Source
Expand description

Connection Pool

Provides async connection pooling with configurable options

Structs§

Pool
连接池核心实现
PoolConfig
PoolConfigBuilder
PoolStatus
PooledConnection
连接池中的连接条目,记录创建时间和最后使用时间
TlsConfig
TLS 配置

Enums§

PoolEvent
连接池事件
TlsVersion
TLS 版本

Traits§

Connection
数据库连接 trait
ConnectionFactory
连接工厂 trait,用于创建新连接

Type Aliases§

PoolEventCallback
连接池事件回调
QueryRows
查询结果行:Vec<HashMap<列名, 值>>
QueryStreamItem
流式查询结果项类型别名:避免 Connection::query_stream 签名触发 clippy::type_complexity