Trait rocket::mtls::oid::asn1_rs::AsTaggedImplicit

source ·
pub trait AsTaggedImplicit<'a, E = Error>: Sized {
    // Provided method
    fn implicit(
        self,
        class: Class,
        constructed: bool,
        tag: u32,
    ) -> TaggedParser<'a, Implicit, Self, E> { ... }
}
Available on crate feature mtls only.
Expand description

Helper trait for creating tagged IMPLICIT values

§Examples

use asn1_rs::{AsTaggedImplicit, Class, Error, TaggedParser};

// create a `[1] IMPLICIT INTEGER` value, not constructed
let tagged: TaggedParser<_, _, Error> = 4u32.implicit(Class::ContextSpecific, false, 1);

Provided Methods§

source

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,