_connect_rust.mdx 300 字节
Newer Older
G
gccgdb1234 已提交
1
```rust title="Native Connection/REST Connection"
D
dingbo 已提交
2 3
{{#include docs-examples/rust/nativeexample/examples/connect.rs}}
```
D
dingbo 已提交
4

D
dingbo 已提交
5
:::note
G
gccgdb1234 已提交
6
For Rust connector, the connection depends on the feature being used. If "rest" feature is enabled, then only the implementation for "rest" is compiled and packaged.
D
dingbo 已提交
7 8

:::