Trait atomic_destructor::AtomicDestroyer
source · pub trait AtomicDestroyer: Debug + Clone {
// Required method
fn on_destroy(&self);
}Required Methods§
sourcefn on_destroy(&self)
fn on_destroy(&self)
Instructions to execute when all instances are dropped
Object Safety§
This trait is not object safe.