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§
fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.