Trait static_init::Uninit

source ·
pub trait Uninit {
    // Required method
    fn uninit(&mut self);
}
Expand description

Trait that must be implemented by #[dynamic(prime)] mutable statics.

Required Methods§

source

fn uninit(&mut self)

This method is called when program or thread exit and the lazy was initialized

It should leave the target objet in a valid state as it could be accessed throud primed_<read|write> method familly.

Implementors§