Module once_lock

Source

Structsยง

OnceLock
A synchronization primitive which can nominally be written to only once.