Docs.rs
cc-core-0.2.1
cc-core 0.2.1
Permalink
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
connect
cc_core
0.2.1
In cc_
core::
mysql
cc_core
::
mysql
Function
connect
Copy item path
Source
pub async fn connect(cfg: &
MysqlConfig
) ->
Result
<
MySqlPool
>
Expand description
用单个配置建立连接池。