Trait for securely erasing values from memory.
| 243 | |
| 244 | /// Trait for securely erasing values from memory. |
| 245 | pub trait Zeroize { |
| 246 | /// Zero out this object from memory using Rust intrinsics which ensure the |
| 247 | /// zeroization operation is not "optimized away" by the compiler. |
| 248 | fn zeroize(&mut self); |
| 249 | } |
| 250 | |
| 251 | /// Marker trait signifying that this type will [`Zeroize::zeroize`] itself on [`Drop`]. |
| 252 | pub trait ZeroizeOnDrop {} |
nothing calls this directly
no outgoing calls
no test coverage detected