[][src]Trait secrecy::ExposeSecret

pub trait ExposeSecret<S> {
    fn expose_secret(&self) -> &S;
}

Expose a reference to an inner secret

Required methods

fn expose_secret(&self) -> &S

Expose secret: this is the only method providing access to a secret.

Loading content...

Implementors

impl ExposeSecret<BytesMut> for SecretBytesMut[src]

impl<S> ExposeSecret<S> for Secret<S> where
    S: Zeroize
[src]

Loading content...