Skip to content

Feature Request: IntoFuture #314

@KaiserKarel

Description

@KaiserKarel

Reqwest and other networking libraries often have their request structs implement IntoFuture, making the following pattern possible:

let result = Request::new().await

let result = Request::new().with_something(x).await

It'd be nice if functions which return a Future, and are decorated with bon, would result in builders that implement IntoFuture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions