pub type PrintableString = RestrictedString<PrintableCharSet>;
Aliased Type§
struct PrintableString { /* private fields */ }
Implementations§
Source§impl PrintableString
impl PrintableString
pub fn from_string(s: String) -> Result<Self, CharSetError>
pub fn as_utf8(&self) -> &str
pub fn into_string(self) -> String
Trait Implementations§
Source§impl From<PrintableStringAsn1> for PrintableString
impl From<PrintableStringAsn1> for PrintableString
Source§fn from(wrapper: PrintableStringAsn1) -> PrintableString
fn from(wrapper: PrintableStringAsn1) -> PrintableString
Converts to this type from the input type.