Trait clear_on_drop::clear::Clear [] [src]

pub trait Clear {
    fn clear(&mut self);
}

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.

Required Methods

Completely overwrites this value.

Implementors