Trait secrecy::DebugSecret

source ·
pub trait DebugSecret {
    fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error> { ... }
}
Expand description

Debugging trait which is specialized for handling secret values

Provided Methods§

Format information about the secret’s type.

This can be thought of as an equivalent to Debug::fmt, but one which by design does not permit access to the secret value.

Implementations on Foreign Types§

Implementors§