Type Alias picky_asn1::restricted_string::PrintableString
source · 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.