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

pub type ParseResult<'a, T> = Result<(&'a [u8], T), Err<Error>>;
Available on crate feature mtls only.
Expand description

Holds the result of BER/DER serialization functions

Aliased Type§

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

Variants§

§1.0.0

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

Contains the success value

§1.0.0

Err(Err<Error>)

Contains the error value