Struct openssl::asn1::Asn1String
[−]
[src]
pub struct Asn1String(_);
Methods from Deref<Target=Asn1StringRef>
fn as_utf8(&self) -> Result<CryptoString, ErrorStack>
fn as_slice(&self) -> &[u8]
fn len(&self) -> usize
Trait Implementations
impl OpenSslType for Asn1String
[src]
type CType = ASN1_STRING
The raw C type.
type Ref = Asn1StringRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut ASN1_STRING) -> Asn1String
Constructs an instance of this type from its raw type.
impl Drop for Asn1String
[src]
impl Deref for Asn1String
[src]
type Target = Asn1StringRef
The resulting type after dereferencing
fn deref(&self) -> &Asn1StringRef
The method called to dereference a value
impl DerefMut for Asn1String
[src]
fn deref_mut(&mut self) -> &mut Asn1StringRef
The method called to mutably dereference a value