On stream.rs#L28-L29, stream.send_data is called prior to stream.poll_ready.
stream.poll_ready should be called first, similar to as described in https://docs.rs/futures/latest/futures/sink/trait.Sink.html#tymethod.poll_ready.
Thanks for considering this issue, and let me know if you have any questions!
On stream.rs#L28-L29,
stream.send_datais called prior tostream.poll_ready.stream.poll_readyshould be called first, similar to as described in https://docs.rs/futures/latest/futures/sink/trait.Sink.html#tymethod.poll_ready.Thanks for considering this issue, and let me know if you have any questions!