Struct rocket::mtls::x509::AuthorityInfoAccess
pub struct AuthorityInfoAccess<'a> {
pub accessdescs: Vec<AccessDescription<'a>, Global>,
}
Available on crate feature
mtls
only.Fields§
§accessdescs: Vec<AccessDescription<'a>, Global>
Implementations§
§impl<'a> AuthorityInfoAccess<'a>
impl<'a> AuthorityInfoAccess<'a>
pub fn iter(&self) -> impl Iterator<Item = &AccessDescription<'a>>
pub fn iter(&self) -> impl Iterator<Item = &AccessDescription<'a>>
Returns an iterator over the Access Descriptors
pub fn as_hashmap(
&self
) -> HashMap<Oid<'a>, Vec<&GeneralName<'a>, Global>, RandomState>
pub fn as_hashmap( &self ) -> HashMap<Oid<'a>, Vec<&GeneralName<'a>, Global>, RandomState>
Returns a HashMap
mapping Oid
to the list of references to GeneralNames
If several names match the same Oid
, they are merged in the same entry.
pub fn into_hashmap(
self
) -> HashMap<Oid<'a>, Vec<GeneralName<'a>, Global>, RandomState>
pub fn into_hashmap( self ) -> HashMap<Oid<'a>, Vec<GeneralName<'a>, Global>, RandomState>
Returns a HashMap
mapping Oid
to the list of GeneralNames
(consuming the input)
If several names match the same Oid
, they are merged in the same entry.
Trait Implementations§
§impl<'a> Clone for AuthorityInfoAccess<'a>
impl<'a> Clone for AuthorityInfoAccess<'a>
§fn clone(&self) -> AuthorityInfoAccess<'a>
fn clone(&self) -> AuthorityInfoAccess<'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 more§impl<'a> Debug for AuthorityInfoAccess<'a>
impl<'a> Debug for AuthorityInfoAccess<'a>
§impl<'a> FromDer<'a> for AuthorityInfoAccess<'a>
impl<'a> FromDer<'a> for AuthorityInfoAccess<'a>
§impl<'a> PartialEq<AuthorityInfoAccess<'a>> for AuthorityInfoAccess<'a>
impl<'a> PartialEq<AuthorityInfoAccess<'a>> for AuthorityInfoAccess<'a>
§fn eq(&self, other: &AuthorityInfoAccess<'a>) -> bool
fn eq(&self, other: &AuthorityInfoAccess<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for AuthorityInfoAccess<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AuthorityInfoAccess<'a>
impl<'a> Send for AuthorityInfoAccess<'a>
impl<'a> Sync for AuthorityInfoAccess<'a>
impl<'a> Unpin for AuthorityInfoAccess<'a>
impl<'a> UnwindSafe for AuthorityInfoAccess<'a>
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where A: Array<Item = T>,
Converts
self
into a collection.