#[non_exhaustive]pub enum DiscoveryFailurePolicy {
FailClosed,
ProceedWithKnown,
}Expand description
What to do when RFC-ACDP-0014 §8 auto-discovery itself fails (a transient search/lookup error, or the discovery search functions’ own safety-cap error).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FailClosed
Treat a discovery failure as a verification failure
(AcdpError::RevocationDiscoveryFailed). Default — matches this
crate’s existing bias (§7’s own lineage-walk and
verification-failure paths already fail closed; see
crate::revocation’s doc for the parallel reasoning) that an
authorization phase which could not run is not the same thing
as one that ran and found nothing.
ProceedWithKnown
Proceed using only RevocationPolicy::known when discovery
fails, silently dropping whatever discovery could not complete.
Use only when availability matters more than catching a
revocation that discovery would otherwise have found.
Trait Implementations§
Source§impl Clone for DiscoveryFailurePolicy
impl Clone for DiscoveryFailurePolicy
impl Copy for DiscoveryFailurePolicy
Source§impl Debug for DiscoveryFailurePolicy
impl Debug for DiscoveryFailurePolicy
Source§impl Default for DiscoveryFailurePolicy
impl Default for DiscoveryFailurePolicy
impl Eq for DiscoveryFailurePolicy
Source§impl PartialEq for DiscoveryFailurePolicy
impl PartialEq for DiscoveryFailurePolicy
impl StructuralPartialEq for DiscoveryFailurePolicy
Auto Trait Implementations§
impl Freeze for DiscoveryFailurePolicy
impl RefUnwindSafe for DiscoveryFailurePolicy
impl Send for DiscoveryFailurePolicy
impl Sync for DiscoveryFailurePolicy
impl Unpin for DiscoveryFailurePolicy
impl UnsafeUnpin for DiscoveryFailurePolicy
impl UnwindSafe for DiscoveryFailurePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.