pub struct Utf8String<'a> { /* private fields */ }
Expand description
An ASN.1-DER UTF-8 string view
Writes a new UTF8String object with value
into sink
and returns a type view over it
Gets the UTF-8 string value
Writes an UTF-8 string value
as DER-object to sink
Performs copy-assignment from
source
.
Read more
Loads object
as Self
Decodes an object as Self
Decodes an object as Self
Reads an object from
source
by parsing the length field and copying the necessary bytes
into
sink
and decoding it from
sink
Read more
Creates an DER object from an encodable type
The tag for this type
Provides raw access to the underlying DerObject
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.