Skip to main content

try_init_once_cell_py_attached

Function try_init_once_cell_py_attached 

Source
fn try_init_once_cell_py_attached<'a, F, T, E>(
    cell: &'a OnceCell<T>,
    _py: Python<'_>,
    f: F,
) -> Result<&'a T, E>
where F: FnOnce() -> Result<T, E>,
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here