Struct CertificateRevocationList
pub struct CertificateRevocationList { /* private fields */ }
Represents a X509 certificate revocation list.
Implementations
impl CertificateRevocationList
fn from_pem(pem: &[u8]) -> Result<CertificateRevocationList>Parses a PEM encoded CRL.
Examples
# use File; # use Read; #Optional
This requires the
rustls(-...)Cargo feature enabled.fn from_pem_bundle(pem_bundle: &[u8]) -> Result<Vec<CertificateRevocationList>>Creates a collection of
CertificateRevocationLists from a PEM encoded CRL bundle. Example byte sources may be.crlor.pemfiles.Examples
# use File; # use Read; #Optional
This requires the
rustls(-...)Cargo feature enabled.
Trait Implementations
impl Debug for CertificateRevocationList
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl Freeze for CertificateRevocationList
impl RefUnwindSafe for CertificateRevocationList
impl Send for CertificateRevocationList
impl Sync for CertificateRevocationList
impl Unpin for CertificateRevocationList
impl UnsafeUnpin for CertificateRevocationList
impl UnwindSafe for CertificateRevocationList
Blanket Implementations
impl<T> Any for CertificateRevocationList
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for CertificateRevocationList
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for CertificateRevocationList
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for CertificateRevocationList
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for CertificateRevocationList
impl<T> PolicyExt for CertificateRevocationList
where
T: ?Sized,
fn and<P, B, E>(self, other: P) -> And<T, P> where T: Sized + Policy<B, E>, P: Policy<B, E>,fn or<P, B, E>(self, other: P) -> Or<T, P> where T: Sized + Policy<B, E>, P: Policy<B, E>,
impl<T> WithSubscriber for CertificateRevocationList
impl<T, U> Into<U> for CertificateRevocationList
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for CertificateRevocationList
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for CertificateRevocationList
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>