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 for ExtensionView<'a>
impl<'a> PartialEq for ExtensionView<'a>
impl<'a> Eq for ExtensionView<'a>
impl<'a> StructuralPartialEq for ExtensionView<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExtensionView<'a>
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