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

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

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...