Struct asn1::Parser[][src]

pub struct Parser<'a> { /* fields omitted */ }
Expand description

Encapsulates an ongoing parse. For almost all use-cases the correct entry-point is parse or parse_single.

Implementations

Tests whether there is any data remaining in the Parser. Generally useful when parsing a SEQUENCE OF.

Reads a single ASN.1 element from the parser. Which type you are reading is determined by the type parameter T.

This is an alias for read_element::<Explicit<T, tag>> for use when MSRV is < 1.51.

This is an alias for read_element::<Option<Explicit<T, tag>>> for use when MSRV is <1.51.

This is an alias for read_element::<Implicit<T, tag>> for use when MSRV is <1.51.

This is an alias for read_element::<Option<Implicit<T, tag>>> for use when MSRV is <1.51.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.