ParseResult

Type Alias 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§

pub 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

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.