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

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

Helper trait for creating tagged IMPLICIT values

§Examples

use asn1_rs::{AsTaggedImplicit, Class};

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

Provided Methods§

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

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