Trait secrecy::DebugSecret [−][src]
pub trait DebugSecret {
fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error> { ... }
}Debugging trait which is specialized for handling secret values
Provided methods
fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>[src]
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.