Docs.rs
cc-core-0.2.1
cc-core 0.2.1
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
gitcn99
Dependencies
anyhow ^1
normal
redis ^1
normal
serde ^1
normal
sqlx ^0.9
normal
toml ^1.1.2
normal
tokio ^1
dev
Versions
74.55%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module mysql
cc_core
0.2.1
Module mysql
Module Items
Structs
Functions
In crate cc_
core
cc_core
Module
mysql
Copy item path
Source
Expand description
MySQL 连接的初始化与多连接管理。
Structs
§
Mysql
Pools
多个命名 MySQL 连接池的容器。
Functions
§
connect
用单个配置建立连接池。
connect_
options
根据配置构造连接选项。
ssl_
mode_
from_
str
把配置里的字符串 ssl_mode 映射到 sqlx 的枚举(无法识别时回退 Preferred)。