Module lock

Source

Structsยง

ThreadUnsafeOnceLock
A OnceLock wrapping a type that is not considered threadsafe by the Rust compiler, but will be used in a threadsafe manner (it will not be mutated, after being initialized).