I'm working on ASGI and RSGI protocol implementations in my project, I would like know how to declare them in rust to be called from Python?
In a sync context, we usually defined a struct with #[pyclass].
Maybe under call return a coroutine with help of future_into_py?