asnfuzzgen_codecs/
lib.rs

1//! Codec support for ASN.1 Types.
2
3#![allow(dead_code)]
4mod per;
5
6use std::convert::TryFrom;
7use std::fmt::Debug;
8
9#[doc(inline)]
10pub use per::PerCodecData;
11
12#[doc(inline)]
13pub use per::PerCodecError;
14
15#[doc(inline)]
16pub use per::aper;
17
18#[doc(inline)]
19pub use per::uper;
20
21//pub trait ChoiceKey: TryFrom<u128> { }
22
23pub trait Asn1Choice {
24    fn choice_key<K: TryFrom<u128> + Debug>(&self) -> K
25    where
26        <K as TryFrom<u128>>::Error: std::fmt::Debug;
27}