quinn-rs / quinn

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

quinn-proto: `ConnectionStats` field types are not exported #1536

Closed abonander closed 1 year ago

abonander commented 1 year ago

UdpStats, FrameStats and PathStats are not exported so their docs are not rendered: image

The fields of these types are public and have doc-comments, suggesting this is just an oversight: https://github.com/quinn-rs/quinn/blob/3eb26361dba85f13b69e0eff6d934b28f70a37f8/quinn-proto/src/connection/stats.rs

Ralith commented 1 year ago

Yep, those should be exported; good catch.