Trait sp_core::crypto::ExposeSecret [−][src]
Trait for accessing reference to SecretString
.
Expose a reference to an inner secret
Required methods
pub fn expose_secret(&self) -> &S
[src]
Expose secret: this is the only method providing access to a secret.
Implementations on Foreign Types
impl<S> ExposeSecret<S> for Secret<S> where
S: Zeroize,
[src]
S: Zeroize,