use super::{CloneableSecret, DebugSecret, Secret};
use alloc::str::FromStr;
use alloc::string::{String, ToString};
pub type SecretString = Secret<String>;
impl DebugSecret for String {}
impl CloneableSecret for String {}
impl FromStr for SecretString {
type Err = ();
fn from_str(src: &str) -> Result<Self, Self::Err> {
Ok(SecretString::new(src.to_string()))
}
}