skip to content

State and Sharing

0 questions

Shared state reaches handlers through the State extractor or an Extension layer, usually behind an Arc, with a Mutex or RwLock when it is mutable. Interviewers ask what the compiler forces you to think about here, and Send plus Sync is the answer.

questions

0 questions