Type Alias asn1_rs::ParseResult

source ·
pub type ParseResult<'a, T, E = Error> = IResult<&'a [u8], T, E>;
Expand description

Holds the result of BER/DER serialization functions

Aliased Type§

enum ParseResult<'a, T, E = Error> {
    Ok((&'a [u8], T)),
    Err(Err<E>),
}

Variants§

§1.0.0

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

Contains the success value

§1.0.0

Err(Err<E>)

Contains the error value