Trait clear_on_drop::clear::Clear
source · [−]pub trait Clear {
fn clear(&mut self);
}
Expand description
An operation to completely overwrite a value, without leaking data.
Do not implement this trait; implement InitializableFromZeroed
instead. This trait’s blanket implementation uses several tricks to
make sure no data is leaked.