Enum picky_asn1_x509::extension::ExtensionView
source · pub enum ExtensionView<'a> {
AuthorityKeyIdentifier(&'a AuthorityKeyIdentifier),
SubjectKeyIdentifier(&'a SubjectKeyIdentifier),
KeyUsage(&'a KeyUsage),
SubjectAltName(GeneralNames),
IssuerAltName(GeneralNames),
BasicConstraints(&'a BasicConstraints),
ExtendedKeyUsage(&'a ExtendedKeyUsage),
Generic(&'a OctetStringAsn1),
CrlNumber(&'a OctetStringAsn1Container<IntegerAsn1>),
}
Expand description
A view on an Extension’s value designed to be easier to match on
Variants§
AuthorityKeyIdentifier(&'a AuthorityKeyIdentifier)
SubjectKeyIdentifier(&'a SubjectKeyIdentifier)
KeyUsage(&'a KeyUsage)
SubjectAltName(GeneralNames)
IssuerAltName(GeneralNames)
BasicConstraints(&'a BasicConstraints)
ExtendedKeyUsage(&'a ExtendedKeyUsage)
Generic(&'a OctetStringAsn1)
CrlNumber(&'a OctetStringAsn1Container<IntegerAsn1>)
Trait Implementations§
source§impl<'a> Clone for ExtensionView<'a>
impl<'a> Clone for ExtensionView<'a>
source§fn clone(&self) -> ExtensionView<'a>
fn clone(&self) -> ExtensionView<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for ExtensionView<'a>
impl<'a> Debug for ExtensionView<'a>
source§impl<'a> PartialEq<ExtensionView<'a>> for ExtensionView<'a>
impl<'a> PartialEq<ExtensionView<'a>> for ExtensionView<'a>
source§fn eq(&self, other: &ExtensionView<'a>) -> bool
fn eq(&self, other: &ExtensionView<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ExtensionView<'a>
impl<'a> StructuralEq for ExtensionView<'a>
impl<'a> StructuralPartialEq for ExtensionView<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExtensionView<'a>
impl<'a> Send for ExtensionView<'a>
impl<'a> Sync for ExtensionView<'a>
impl<'a> Unpin for ExtensionView<'a>
impl<'a> UnwindSafe for ExtensionView<'a>
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