Trait rasn::de::Error[][src]

pub trait Error: Display {
    fn custom<D: Display>(msg: D) -> Self;
fn incomplete(needed: Needed) -> Self;
fn exceeds_max_length(length: usize) -> Self; }
Expand description

A generic error that can occur while decoding ASN.1.

Required methods

Creates a new general error using msg when decoding ASN.1.

Creates a new error about needing more data to finish parsing.

Creates a new error about exceeding the maximum allowed data for a type.

Implementors