Skip to content

Drop AsyncWrite usage in h3-quinn once GATs land #55

Closed
@stammw

Description

@stammw

We were forced to use AsyncWrite in h3_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 from IOError to quinn::WriteError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-performanceCategory: performance. This is making existing behavior go faster.C-refactorCategory: refactor. This would improve the clarity of internal code.E-mediumEffort: medium. Some knowledge of how the internals work would be useful.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions