Skip to main content

NotSensitiveDebugExt

Trait NotSensitiveDebugExt 

Source
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§

Source

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.

Implementors§

Source§

impl<T> NotSensitiveDebugExt for T
where T: Debug,