Skip to content
New issue

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

Use associated trait bound for Database Error = ProviderError #8152

Open
mattsse opened this issue May 8, 2024 · 0 comments
Open

Use associated trait bound for Database Error = ProviderError #8152

mattsse opened this issue May 8, 2024 · 0 comments
Labels
A-execution Related to the Execution and EVM C-enhancement New feature or request S-blocked This cannot more forward until something else changes

Comments

@mattsse
Copy link
Collaborator

mattsse commented May 8, 2024

Describe the feature

type Executor<DB: Database<Error = ProviderError>>: for<'a> Executor<

ideally we can use something like type Executor<DB: Database<Error : Into<Self::Error>>>: instead.

This currently only works on nightly, but will be stabilized:

rust-lang/rust#52662

Additional context

No response

@mattsse mattsse added C-enhancement New feature or request S-blocked This cannot more forward until something else changes A-execution Related to the Execution and EVM labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-execution Related to the Execution and EVM C-enhancement New feature or request S-blocked This cannot more forward until something else changes
Projects
Status: Todo
Development

No branches or pull requests

1 participant