Y
Hacker News
new
|
ask
|
show
|
jobs
by
small_scombrus
41 days ago
It'll depend immensely on what you're actually doing, but if it's simple enough you may be able to make a macro that subs out the types & awaits
1 comments
conaclos
41 days ago
One of the issue I face is a blocking function that takes a generic constrained by a `trait` and its async version takes a generic constrained by an `async trait`.
link