picky_asn1::restricted_string

Type Alias Utf8String

Source
pub type Utf8String = RestrictedString<Utf8CharSet>;

Aliased Type§

struct Utf8String { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl From<Utf8StringAsn1> for Utf8String

Source§

fn from(wrapper: Utf8StringAsn1) -> Utf8String

Converts to this type from the input type.
Source§

impl FromStr for Utf8String

Source§

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