Trait smart_config::value::ExposeSecret

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

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.

Implementors§

§

impl<S> ExposeSecret<S> for SecretBox<S>
where S: Zeroize + ?Sized,