tokio-stream: Expose Timeout #4599
Labels
A-tokio-stream
Area: The tokio-stream crate
C-feature-request
Category: A feature request.
M-time
Module: tokio/time
I noticed the
Timeout
struct which is returned fromStreamExt::timeout
is not public. In my use case I want to create a struct which contains thisTimeout
as one of its fields but this is currently impossible. Is there a reason this type is not exposed? If not, then I'd be happy to contribute a PR exposing it.The text was updated successfully, but these errors were encountered: