elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
705 stars 72 forks source link

[ENHANCEMENT] async/await API functions #10

Closed russcam closed 4 years ago

russcam commented 4 years ago

Now that async/await has landed in Rust stable, the send functions of builder structs should be updated to be asynchronous functions. This would probably necessitate removing the Sender trait as async in traits is early days and the trait probably doesn't serve a great deal of value currently.