Skip to content

Add Stream mock to tokio-test #4106

@Munksgaard

Description

@Munksgaard

Is your feature request related to a problem? Please describe.

I want to test streams wrapped in tokio_serde, but that's not currently possible.

Describe the solution you'd like

Make Action polymorphic in the transport type. That way, I can construct a Builder<Framed<...>> or a Builder<&[u8]> depending on my needs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tokio-testArea: The tokio-test crateC-feature-requestCategory: A feature request.E-help-wantedCall for participation: Help is requested to fix this issue.E-mediumCall for participation: Experience needed to fix: Medium / intermediate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions