[][src]Struct openssl::asn1::Asn1Type

pub struct Asn1Type(_);

The type of an ASN.1 value.

Implementations

impl Asn1Type[src]

pub const EOC: Asn1Type[src]

pub const BOOLEAN: Asn1Type[src]

pub const INTEGER: Asn1Type[src]

pub const BIT_STRING: Asn1Type[src]

pub const OCTET_STRING: Asn1Type[src]

pub const NULL: Asn1Type[src]

pub const OBJECT: Asn1Type[src]

pub const OBJECT_DESCRIPTOR: Asn1Type[src]

pub const EXTERNAL: Asn1Type[src]

pub const REAL: Asn1Type[src]

pub const ENUMERATED: Asn1Type[src]

pub const UTF8STRING: Asn1Type[src]

pub const SEQUENCE: Asn1Type[src]

pub const SET: Asn1Type[src]

pub const NUMERICSTRING: Asn1Type[src]

pub const PRINTABLESTRING: Asn1Type[src]

pub const T61STRING: Asn1Type[src]

pub const TELETEXSTRING: Asn1Type[src]

pub const VIDEOTEXSTRING: Asn1Type[src]

pub const IA5STRING: Asn1Type[src]

pub const UTCTIME: Asn1Type[src]

pub const GENERALIZEDTIME: Asn1Type[src]

pub const GRAPHICSTRING: Asn1Type[src]

pub const ISO64STRING: Asn1Type[src]

pub const VISIBLESTRING: Asn1Type[src]

pub const GENERALSTRING: Asn1Type[src]

pub const UNIVERSALSTRING: Asn1Type[src]

pub const BMPSTRING: Asn1Type[src]

pub fn from_raw(value: c_int) -> Self[src]

Constructs an Asn1Type from a raw OpenSSL value.

pub fn as_raw(&self) -> c_int[src]

Returns the raw OpenSSL value represented by this type.

Trait Implementations

impl Clone for Asn1Type[src]

impl Copy for Asn1Type[src]

impl Debug for Asn1Type[src]

impl Eq for Asn1Type[src]

impl PartialEq<Asn1Type> for Asn1Type[src]

impl StructuralEq for Asn1Type[src]

impl StructuralPartialEq for Asn1Type[src]

Auto Trait Implementations

impl RefUnwindSafe for Asn1Type

impl Send for Asn1Type

impl Sync for Asn1Type

impl Unpin for Asn1Type

impl UnwindSafe for Asn1Type

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.