zng::hot_reload

Function lazy_static_init

source
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.