Enum webpki::UnknownStatusPolicy
source · pub enum UnknownStatusPolicy {
Allow,
Deny,
}
Expand description
Describes how to handle the case where a certificate’s revocation status is unknown.
Variants§
Allow
Treat unknown revocation status permissively, acting as if the certificate were not revoked.
Deny
Treat unknown revocation status as an error condition, yielding Error::UnknownRevocationStatus.
Trait Implementations§
source§impl Clone for UnknownStatusPolicy
impl Clone for UnknownStatusPolicy
source§fn clone(&self) -> UnknownStatusPolicy
fn clone(&self) -> UnknownStatusPolicy
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 Debug for UnknownStatusPolicy
impl Debug for UnknownStatusPolicy
source§impl PartialEq for UnknownStatusPolicy
impl PartialEq for UnknownStatusPolicy
source§fn eq(&self, other: &UnknownStatusPolicy) -> bool
fn eq(&self, other: &UnknownStatusPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UnknownStatusPolicy
impl Eq for UnknownStatusPolicy
impl StructuralPartialEq for UnknownStatusPolicy
Auto Trait Implementations§
impl Freeze for UnknownStatusPolicy
impl RefUnwindSafe for UnknownStatusPolicy
impl Send for UnknownStatusPolicy
impl Sync for UnknownStatusPolicy
impl Unpin for UnknownStatusPolicy
impl UnwindSafe for UnknownStatusPolicy
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)