3 ms·
> Send and sync is only required if you want to access something from multiple threads, which isn't required by async await (parallelism vs concurrency) In the
by WhyNotHugo 1y ago
> Send and sync is only required if you want to access something from multiple threads, which isn't required by async await (parallelism vs concurrency)
In theory this is correct. In practice, a lot of APIs (including many in tokio) require both traits even for single-thread use cases.