Skip to content

Client builder's executor setter is confusing for new tokio 0.2 alpha #1944

Closed
@zimond

Description

@zimond

Currently in hyper, the Builder::executor<E>() setter requires a for<'a> &'a E: tokio_executor::Executor bound. Which, in latest tokio (=0.2.0-alpha.4), only Sender meets this bound.

However, Sender is now not exported anymore by tokio. There seems to be no easy way to set custom executor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-rfcBlocked: More comments would be useful in determine next steps.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions