#[non_exhaustive]pub enum DerTypeId {
Show 26 variants
BitString,
Bool,
Certificate,
CertificateExtensions,
CertificateTbsCertificate,
CertRevocationList,
CertRevocationListExtension,
CrlDistributionPoint,
CommonNameInner,
CommonNameOuter,
DistributionPointName,
Extension,
GeneralName,
RevocationReason,
Signature,
SignatureAlgorithm,
SignedData,
SubjectPublicKeyInfo,
Time,
TrustAnchorV1,
TrustAnchorV1TbsCertificate,
U8,
RevokedCertificate,
RevokedCertificateExtension,
RevokedCertEntry,
IssuingDistributionPoint,
}
Expand description
Trailing data was found while parsing DER-encoded input for the named type.
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.
BitString
Bool
Certificate
CertificateExtensions
CertificateTbsCertificate
CertRevocationList
CertRevocationListExtension
CrlDistributionPoint
CommonNameInner
CommonNameOuter
DistributionPointName
Extension
GeneralName
RevocationReason
Signature
SignatureAlgorithm
SignedData
SubjectPublicKeyInfo
Time
TrustAnchorV1
TrustAnchorV1TbsCertificate
U8
RevokedCertificate
RevokedCertificateExtension
RevokedCertEntry
IssuingDistributionPoint
Trait Implementations§
impl Copy for DerTypeId
impl Eq for DerTypeId
impl StructuralPartialEq for DerTypeId
Auto Trait Implementations§
impl Freeze for DerTypeId
impl RefUnwindSafe for DerTypeId
impl Send for DerTypeId
impl Sync for DerTypeId
impl Unpin for DerTypeId
impl UnwindSafe for DerTypeId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
BitString
: 0 bytesBool
: 0 bytesCertificate
: 0 bytesCertificateExtensions
: 0 bytesCertificateTbsCertificate
: 0 bytesCertRevocationList
: 0 bytesCertRevocationListExtension
: 0 bytesCrlDistributionPoint
: 0 bytesCommonNameInner
: 0 bytesCommonNameOuter
: 0 bytesDistributionPointName
: 0 bytesExtension
: 0 bytesGeneralName
: 0 bytesRevocationReason
: 0 bytesSignature
: 0 bytesSignatureAlgorithm
: 0 bytesSignedData
: 0 bytesSubjectPublicKeyInfo
: 0 bytesTime
: 0 bytesTrustAnchorV1
: 0 bytesTrustAnchorV1TbsCertificate
: 0 bytesU8
: 0 bytesRevokedCertificate
: 0 bytesRevokedCertificateExtension
: 0 bytesRevokedCertEntry
: 0 bytesIssuingDistributionPoint
: 0 bytes