pub trait NotSensitiveDebugExt: Sized + Debug {
// Provided method
fn not_sensitive_debug(&self) -> NotSensitiveDebug<&Self> { ... }
}Expand description
Extension trait to mark values as explicitly non-sensitive using Debug.
Provided Methods§
Sourcefn not_sensitive_debug(&self) -> NotSensitiveDebug<&Self>
fn not_sensitive_debug(&self) -> NotSensitiveDebug<&Self>
Wraps a reference to the value as explicitly non-sensitive using Debug.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.