pub trait AtomicDestroyer: Debug + Clone {
    // Required method
    fn on_destroy(&self);
}

Required Methods§

source

fn on_destroy(&self)

Instructions to execute when all instances are dropped

Object Safety§

This trait is not object safe.

Implementors§