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