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

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

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

Required methods

fn expose_secret(&self) -> &S

Expose secret

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...