Non-static, Non-Send Tokio Spawn Blocking with &self and Scoped Threads

203 · Users Rust Lang · June 19, 2026, 10:08 p.m.
Summary
The blog post discusses a challenge in Rust programming related to asynchronous and synchronous execution, specifically focusing on how to use scoped threads while maintaining non-static references. The author outlines their constraints and seeks guidance on utilizing lifetimes, Pin, and tokio to achieve concurrent execution without blocking the calling thread.