Struct openssl::asn1::Asn1String
[−]
pub struct Asn1String(_);
Methods from Deref<Target = Asn1StringRef>
fn as_utf8(&self) -> Result<OpensslString, ErrorStack>
[src]
fn as_slice(&self) -> &[u8]
[src]
fn len(&self) -> usize
[src]
Trait Implementations
impl ForeignType for Asn1String
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.
fn as_ptr(&self) -> *mut ASN1_STRING
Returns a raw pointer to the wrapped value.
impl Drop for Asn1String
impl Deref for Asn1String
type Target = Asn1StringRef
The resulting type after dereferencing.
fn deref(&self) -> &Asn1StringRef
Dereferences the value.
impl DerefMut for Asn1String
fn deref_mut(&mut self) -> &mut Asn1StringRef
Mutably dereferences the value.