Type Alias rocket::mtls::x509::der_parser::error::BerResult

source ·
pub type BerResult<'a, O = BerObject<'a>> = Result<(&'a [u8], O), Err<Error>>;
Available on crate feature mtls only.
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

Aliased Type§

enum BerResult<'a, O = BerObject<'a>> {
    Ok((&'a [u8], O)),



Ok((&'a [u8], O))

Contains the success value



Contains the error value