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

Function pure

Source
pub fn pure<I, O, E>(val: O) -> impl Fn(I)
where E: ParseError<I>, O: Clone,
Available on crate feature mtls only.
Expand description

Create a combinator that returns the provided value, and input unchanged