quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.76k stars 380 forks source link

Standardize on async fn for I/O methods #1269

Closed Ralith closed 2 years ago

Ralith commented 2 years ago

SendStream futures weren't reexported, making them rather obscure, and using async fn in general makes for clearer docs (because the yielded type is displayed directly and there are fewer structs cluttering the index) and places fewer constraints on implementation.