CleanDrop

Trait CleanDrop 

Source
pub trait CleanDrop {
    // Required method
    fn clean_drop(&mut self);
}
Expand description

Trait providing an explicit cleanup method that may be invoked prior to Drop.

Required Methods§

Source

fn clean_drop(&mut self)

Perform custom cleanup, releasing external resources and breaking strong reference cycles.

Implementors§