[][src]Trait redactedsecret::DebugSecret

pub trait DebugSecret {
    fn debug_secret() -> &'static str { ... }
}

Debugging trait which is specialized for handling secret values

Provided methods

fn debug_secret() -> &'static str

Information about what the secret contains.

Static so as to discourage unintentional secret exposure.

Loading content...

Implementations on Foreign Types

impl<S: DebugSecret + Zeroize> DebugSecret for Box<S>[src]

impl DebugSecret for BytesMut[src]

impl DebugSecret for String[src]

impl<S: DebugSecret + Zeroize> DebugSecret for Vec<S>[src]

Loading content...

Implementors

impl DebugSecret for SecretString[src]

Loading content...