Enum rcgen::DnType [−][src]
#[non_exhaustive]
pub enum DnType {
CountryName,
LocalityName,
StateOrProvinceName,
OrganizationName,
OrganizationalUnitName,
CommonName,
CustomDnType(Vec<u64>),
}
Expand description
The attribute type of a distinguished name entry
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
X520countryName
X520LocalityName
X520StateOrProvinceName
X520OrganizationName
X520OrganizationalUnitName
X520CommonName
Custom distinguished name type
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DnType
impl UnwindSafe for DnType
Blanket Implementations
Mutably borrows from an owned value. Read more