We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
async_trait
'static
RpcMethod
Why does the lifetime of the future need to be 'static? Could not it be just the lifetime of the MetaIoHandler?
MetaIoHandler
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, this is a great library.
It seems that currently it's not possible to register methods from
async_trait
s due to the'static
requirements ofRpcMethod
.Why does the lifetime of the future need to be
'static
? Could not it be just the lifetime of theMetaIoHandler
?The text was updated successfully, but these errors were encountered: