Type Definition der_parser::error::BerResult

source · []
pub type BerResult<'a, O = BerObject<'a>> = IResult<&'a [u8], O, BerError>;
Expand description

Holds the result of parsing functions

O is the output type, and defaults to a BerObject.

Note that this type is also a Result, so usual functions (map, unwrap etc.) are available.

This type is a wrapper around nom’s IResult type