Type Alias rocket::mtls::oid::asn1_rs::ParseResult

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