Skip to content

Incompatible with async_trait? #645

@Palmik

Description

@Palmik

Hi, this is a great library.

It seems that currently it's not possible to register methods from async_traits due to the 'static requirements of RpcMethod.

Why does the lifetime of the future need to be 'static? Could not it be just the lifetime of the MetaIoHandler?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions