solana_type_overrides::syncConstant ONCE_INIT
1.0.0 · Source pub const ONCE_INIT: Once;
👎Deprecated since 1.38.0: the Once::new()
function is now preferred
Expand description
Initialization value for static Once
values.
§Examples
use std::sync::{Once, ONCE_INIT};
static START: Once = ONCE_INIT;