Module futures_ext::stream
source · Expand description
Module extending functionality of [futures::stream
] module
Structs
- A stream wrapper returned by StreamExt::return_remainder
- Error returned when a StreamWithTimeout exceeds its deadline.
- A stream that must finish within a given duration, or it will error during poll (i.e. it must yield None). The clock starts counting the first time the stream is polled.
- Like [stream::Buffered], but can also limit number of futures in a buffer by “weight”.
- Like [stream::Buffered], but is for TryStream and can also limit number of futures in a buffer by “weight”
- A stream that will yield control back to the caller if it runs for more than a given duration without yielding (i.e. returning Poll::Pending). The clock starts counting the first time the stream is polled, and is reset every time the stream yields.
Traits
- A trait implemented by default for all Streams which extends the standard functionality.
- A trait implemented by default for all TryStreams which extends the standard functionality.