Type Alias sp_core::crypto::SecretString
source · pub type SecretString = Secret<String>;
Expand description
Secret strings
Aliased Type§
struct SecretString { /* private fields */ }
Implementations
Trait Implementations
source§impl<S> Clone for Secret<S>where
S: CloneableSecret,
impl<S> Clone for Secret<S>where
S: CloneableSecret,
source§impl<S> ExposeSecret<S> for Secret<S>where
S: Zeroize,
impl<S> ExposeSecret<S> for Secret<S>where
S: Zeroize,
source§fn expose_secret(&self) -> &S
fn expose_secret(&self) -> &S
Expose secret: this is the only method providing access to a secret.