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

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

Trait for accessing reference to SecretString. Expose a reference to an inner secret

Required methods

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

Implementations on Foreign Types

Implementors