
Web
Sharing State Between Axum Handlers With State and Arc
Share a pool, config and caches with Axum's State extractor. Learn why the state must be Clone, when to use Arc and how to mutate shared data safely.
8 min read
Tag
1 post

Share a pool, config and caches with Axum's State extractor. Learn why the state must be Clone, when to use Arc and how to mutate shared data safely.