Skip to main content

Module init_cell

Module init_cell 

Source
Expand description

Init-once container for static declarations.

InitCell<T> encapsulates the single unsafe pattern of “create once in on_init, use from any thread, destroy in on_shutdown” behind a safe API.

Structs§

InitCell
A no_std init-once container designed for the oveRTOS lifecycle.
InitMut
Like InitCell but provides &mut T access through UnsafeCell.