Type Alias picky_asn1::restricted_string::Ia5String

source ·
pub type Ia5String = RestrictedString<Ia5CharSet>;

Aliased Type§

struct Ia5String { /* private fields */ }

Implementations§

source§

impl Ia5String

source

pub fn from_string(s: String) -> Result<Self, CharSetError>

source

pub fn as_utf8(&self) -> &str

source

pub fn into_string(self) -> String

Trait Implementations§

source§

impl From<GeneralStringAsn1> for Ia5String

source§

fn from(wrapper: GeneralStringAsn1) -> Ia5String

Converts to this type from the input type.
source§

impl From<Ia5StringAsn1> for Ia5String

source§

fn from(wrapper: Ia5StringAsn1) -> Ia5String

Converts to this type from the input type.
source§

impl FromStr for Ia5String

§

type Err = CharSetError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more