pub trait MemberOrOption {
const IS_CHOICE_OPTION: bool;
// Required methods
fn name(&self) -> &str;
fn ty(&self) -> &ASN1Type;
fn constraints(&self) -> &[Constraint];
fn is_recursive(&self) -> bool;
fn tag(&self) -> Option<&AsnTag>;
}
Expand description
Convenience trait for processing members of constructed types (SEQUENCE
, SET
) and CHOICE
s.
Required Associated Constants§
const IS_CHOICE_OPTION: bool
Required Methods§
fn name(&self) -> &str
fn ty(&self) -> &ASN1Type
fn constraints(&self) -> &[Constraint]
fn is_recursive(&self) -> bool
fn tag(&self) -> Option<&AsnTag>
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.