Skip to content

Compilation failed: the trait Injectable<DependencyMap, _, _> is not implemented for ... #1063

Answered by WaffleLapkin
jdxj asked this question in Q&A
Discussion options

You must be logged in to vote

You are correct. Dptree requires the future to be Send, so you should generally use dyn Error + Send or, as you did, anyhow/eyre.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WaffleLapkin
Comment options

Answer selected by jdxj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants