Skip to content

Framed does not implement FusedFuture #41

@qbradley

Description

@qbradley

A function that returns a FusedFuture is not able to be wrapped with Framed.

I would like the following to compile:

use futures::{future::FusedFuture, FutureExt};
fn fused_future() -> impl FusedFuture<Output = ()> {
    async_backtrace::location!().frame(ready().fuse())
}
async fn ready() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions