How to read the error messages like below?

The section Debugging handler type errors in the documentation for axum::handler may be relevant.

The mistake I made was having something that was not Send. The error message suggests to me that could be your problem. Although... I think your error is something a little different. Still some kind of trait bound problem though.

I think code is needed to diagnose what is wrong!