Trait secrecy::DebugSecret

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

Debugging trait which is specialized for handling secret values

Provided Methods§

source

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

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§

source§

impl<T: Debug> DebugSecret for [T; 48]

source§

impl<T: Debug> DebugSecret for [T; 63]

source§

impl<T: Debug> DebugSecret for [T; 50]

source§

impl<T: Debug> DebugSecret for [T; 10]

source§

impl<T: Debug> DebugSecret for [T; 17]

source§

impl<T: Debug> DebugSecret for [T; 9]

source§

impl<T: Debug> DebugSecret for [T; 21]

source§

impl<T: Debug> DebugSecret for [T; 2]

source§

impl<T: Debug> DebugSecret for [T; 55]

source§

impl<T: Debug> DebugSecret for [T; 61]

source§

impl<S: DebugSecret + Zeroize> DebugSecret for Box<S>

source§

impl<T: Debug> DebugSecret for [T; 26]

source§

impl<T: Debug> DebugSecret for [T; 38]

source§

impl<T: Debug> DebugSecret for [T; 51]

source§

impl<T: Debug> DebugSecret for [T; 24]

source§

impl<T: Debug> DebugSecret for [T; 64]

source§

impl<T: Debug> DebugSecret for [T; 58]

source§

impl<T: Debug> DebugSecret for [T; 29]

source§

impl<T: Debug> DebugSecret for [T; 37]

source§

impl<T: Debug> DebugSecret for [T; 46]

source§

impl<T: Debug> DebugSecret for [T; 5]

source§

impl<T: Debug> DebugSecret for [T; 12]

source§

impl<T: Debug> DebugSecret for [T; 28]

source§

impl<T: Debug> DebugSecret for [T; 19]

source§

impl<T: Debug> DebugSecret for [T; 8]

source§

impl DebugSecret for String

source§

impl<T: Debug> DebugSecret for [T; 11]

source§

impl<T: Debug> DebugSecret for [T; 32]

source§

impl<T: Debug> DebugSecret for [T; 39]

source§

impl<T: Debug> DebugSecret for [T; 14]

source§

impl<T: Debug> DebugSecret for [T; 13]

source§

impl<T: Debug> DebugSecret for [T; 6]

source§

impl<T: Debug> DebugSecret for [T; 49]

source§

impl<T: Debug> DebugSecret for [T; 30]

source§

impl<T: Debug> DebugSecret for [T; 1]

source§

impl<T: Debug> DebugSecret for [T; 18]

source§

impl<T: Debug> DebugSecret for [T; 40]

source§

impl<T: Debug> DebugSecret for [T; 54]

source§

impl<T: Debug> DebugSecret for [T; 57]

source§

impl<T: Debug> DebugSecret for [T; 52]

source§

impl<T: Debug> DebugSecret for [T; 7]

source§

impl<T: Debug> DebugSecret for [T; 41]

source§

impl<T: Debug> DebugSecret for [T; 56]

source§

impl<T: Debug> DebugSecret for [T; 4]

source§

impl<T: Debug> DebugSecret for [T; 42]

source§

impl<T: Debug> DebugSecret for [T; 22]

source§

impl<T: Debug> DebugSecret for [T; 16]

source§

impl<T: Debug> DebugSecret for [T; 44]

source§

impl<T: Debug> DebugSecret for [T; 31]

source§

impl<T: Debug> DebugSecret for [T; 15]

source§

impl<T: Debug> DebugSecret for [T; 45]

source§

impl<T: Debug> DebugSecret for [T; 20]

source§

impl<S: DebugSecret + Zeroize> DebugSecret for Vec<S>

source§

impl<T: Debug> DebugSecret for [T; 59]

source§

impl<T: Debug> DebugSecret for [T; 53]

source§

impl<T: Debug> DebugSecret for [T; 25]

source§

impl<T: Debug> DebugSecret for [T; 33]

source§

impl<T: Debug> DebugSecret for [T; 60]

source§

impl<T: Debug> DebugSecret for [T; 62]

source§

impl<T: Debug> DebugSecret for [T; 3]

source§

impl<T: Debug> DebugSecret for [T; 43]

source§

impl<T: Debug> DebugSecret for [T; 36]

source§

impl<T: Debug> DebugSecret for [T; 47]

source§

impl<T: Debug> DebugSecret for [T; 35]

source§

impl<T: Debug> DebugSecret for [T; 34]

source§

impl<T: Debug> DebugSecret for [T; 23]

source§

impl<T: Debug> DebugSecret for [T; 27]

Implementors§