Skip to content

Can't make generic Router, handler issue #2859

Answered by sergeda
sergeda asked this question in Q&A
Discussion options

You must be logged in to vote

Adding Sync helped. The end result is: <T: Translator + Send + Sync + 'static>

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mladedav
Comment options

mladedav Aug 5, 2024
Collaborator

@sergeda
Comment options

Answer selected by sergeda
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