[][src]Enum asn1_der::Asn1DerErrorVariant

pub enum Asn1DerErrorVariant {
    InOutError(&'static str),
    InvalidData(&'static str),
    Unsupported(&'static str),
    Other(&'static str),
}

An Asn1DerError variant

Variants

InOutError(&'static str)

An in-out error occurred (e.g. failed to read/write some bytes)

InvalidData(&'static str)

The data has an invalid encoding

Unsupported(&'static str)

The object type or length is not supported by this implementation

Other(&'static str)

An unspecified error

Trait Implementations

impl Clone for Asn1DerErrorVariant[src]

impl Copy for Asn1DerErrorVariant[src]

impl Debug for Asn1DerErrorVariant[src]

impl Display for Asn1DerErrorVariant[src]

impl Eq for Asn1DerErrorVariant[src]

impl PartialEq<Asn1DerErrorVariant> for Asn1DerErrorVariant[src]

impl StructuralEq for Asn1DerErrorVariant[src]

impl StructuralPartialEq for Asn1DerErrorVariant[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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.