pub type SecretString = SecretBox<str>;
Expand description
Secret string type.
This is a type alias for SecretBox<str>
which supports some helpful trait impls.
Notably it has a From<String>
impl which is the preferred method for construction.
Aliased Type§
pub struct SecretString { /* private fields */ }