Type Definition conquer_once::spin::OnceCell

source · []
pub type OnceCell<T> = OnceCell<T, Spin>;
Expand description

An interior mutability cell type which allows synchronized one-time initialization and read-only access exclusively after initialization.

This type uses spin-locks if the initialization is contended and is thus #[no_std] compatible.

For the API of this type alias, see the generic OnceCell type.