Skip to main content
Module once_lock
pyo3
0.28.3
Module once_
lock
Module Items
Structs
Functions
In pyo3::
sync
pyo3
::
sync
Module
once_
lock
Copy item path
Source
Structs
ยง
PyOnce
Lock
An equivalent to
std::sync::OnceLock
for initializing objects while attached to the Python interpreter.
Functions
ยง
init_
once_
cell_
py_
attached
๐
try_
init_
once_
cell_
py_
attached
๐
โ ๏ธ Internal Docs โ ๏ธ Not Public API ๐
Official Docs Here