```rust
{{#include docs-examples/rust/restexample/examples/connect.rs}}
```

[查看完整程序](https://github.com/taosdata/TDengine/blob/develop/docs-examples/rust/restexample/examples/connect.rs)
