[][src]Enum picky_asn1_der::Asn1DerError

pub enum Asn1DerError {
    TruncatedData,
    InvalidData,
    UnsupportedValue,
    UnsupportedType,
    InvalidSink,
    Message(String),
    Other(Box<dyn Error + Send + Sync + 'static>),
}

A picky_asn1_der-related error

Variants

TruncatedData

The data is truncated

InvalidData

The data is invalid

UnsupportedValue

The value may be valid but is unsupported (e.g. an integer that is too large)

UnsupportedType

The data type is not supported by the (de-)serializer

InvalidSink

The provided sink is unable to accept all bytes

Message(String)

A custom message produced by serde

Other(Box<dyn Error + Send + Sync + 'static>)

Some other underlying error (e.g. an IO error)

Trait Implementations

impl Debug for Asn1DerError[src]

impl Display for Asn1DerError[src]

impl Error for Asn1DerError[src]

impl Error for Asn1DerError[src]

impl Error for Asn1DerError[src]

impl From<Error> for Asn1DerError[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> 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.