Type Alias rocket::mtls::x509::X509Result

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

Holds the result of parsing functions (X.509)

Note that this type is also a Result, so usual functions (map, unwrap etc.) are available.

Aliased Type§

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

Variants§

§1.0.0

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

Contains the success value

§1.0.0

Err(Err<X509Error>)

Contains the error value