Closed Ploppz closed 3 years ago
Seems the problem is the suggestion by rustc omits the inputs ((&self, ...)
) and output (-> ...
) of the function.
Try adding where Self: Sized
after the output of the function without removing inputs and output of the functions.
Also, the object safety issue is explained in the documentation. See that for more.
Ah I see, thanks. Not a probem with async-trait then.
I get compiler error:
But when I try the last suggestion, I get: