rocket::mtls::x509::der_parser::rusticata_macros

Macro custom_check

Source
macro_rules! custom_check {
    ($i:expr, $cond:expr, $err:expr) => { ... };
}
Available on crate feature mtls only.
Expand description

Helper macro for nom parsers: raise error if the condition is true

This macro is used when using custom errors