pub trait TearDown: Sized + 'static { fn tear_down(self); }
Trait describing the destructor of use_effect hook.
use_effect
The function that is executed when destructor is called