secrecy

Trait ExposeSecret

Source
pub trait ExposeSecret<S: ?Sized> {
    // Required method
    fn expose_secret(&self) -> &S;
}
Expand description

Expose a reference to an inner secret

Required Methods§

Source

fn expose_secret(&self) -> &S

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

Implementors§