pub fn lazy_static_init<T>(
lazy_static: &'static Lazy<T>,
value: T,
) -> Result<&'static T, T>Expand description
Initializes a lazy_static! with a custom value if it is not yet inited.
pub fn lazy_static_init<T>(
lazy_static: &'static Lazy<T>,
value: T,
) -> Result<&'static T, T>Initializes a lazy_static! with a custom value if it is not yet inited.