Trait secrecy::ExposeSecret[][src]

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

Expose a reference to an inner secret

Required methods

fn expose_secret(&self) -> &S[src]

Expose secret

Loading content...

Implementors

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

Loading content...