rocket::mtls::oid::asn1_rs

Type Alias SerializeResult

Source
pub type SerializeResult<T> = Result<T, SerializeError>;
Available on crate feature mtls only.
Expand description

Holds the result of BER/DER encoding functions

Aliased Type§

enum SerializeResult<T> {
    Ok(T),
    Err(SerializeError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SerializeError)

Contains the error value