Skip to main content

ASN1InnerFmt

Type Alias ASN1InnerFmt 

Source
pub type ASN1InnerFmt<Content, const DER: bool> = Mapped<PrefixTagged<TagFmt, Tag, Bind<LengthFmt<DER>, FnSpec<(usize,), ExactLen<Content, usize>>>>, FnSpecMapper<(usize, <Content as SpecByteLen>::T), <Content as SpecByteLen>::T>>;

Aliased Type§

pub struct ASN1InnerFmt<Content, const DER: bool> {
    pub inner: PrefixTagged<TagFmt, Tag, Bind<LengthFmt<DER>, FnSpec<(usize,), ExactLen<Content, usize>>>>,
    pub mapper: (FnSpec<((usize, <Content as SpecByteLen>::T),), <Content as SpecByteLen>::T>, FnSpec<(<Content as SpecByteLen>::T,), (usize, <Content as SpecByteLen>::T)>),
}

Fields§

§inner: PrefixTagged<TagFmt, Tag, Bind<LengthFmt<DER>, FnSpec<(usize,), ExactLen<Content, usize>>>>

The inner combinator whose values are being transformed.

§mapper: (FnSpec<((usize, <Content as SpecByteLen>::T),), <Content as SpecByteLen>::T>, FnSpec<(<Content as SpecByteLen>::T,), (usize, <Content as SpecByteLen>::T)>)

The mapping between the inner and outer value types.