Trait sp_core::crypto::ExposeSecret[][src]

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

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.

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...