Drop AsyncWrite usage in h3-quinn once GATs land #55
Labels
C-performance
Category: performance. This is making existing behavior go faster.
C-refactor
Category: refactor. This would improve the clarity of internal code.
E-medium
Effort: medium. Some knowledge of how the internals work would be useful.
We were forced to use
AsyncWrite
inh3_quinn::SendStream
because Quinn only offers lifetime-bound Futures to poll for writes:Write<'a, S>
.Generic associated type could cancel this limitation, allowing to store them into
h3_quinn::SendStream
.This will have positive implication for performance and will remove the necessity to
Pin
the stream and to downcast the error type fromIOError
toquinn::WriteError
.The text was updated successfully, but these errors were encountered: