#[non_exhaustive]pub struct DiscoveryOutcome {
pub producer_signed: usize,
pub registry_attested: Option<usize>,
}Expand description
What RFC-ACDP-0014 §8 auto-discovery actually did, distinguishing
“this trust class was not queried” from “it was queried and found
nothing” — the same distinction
RevocationDiscovery’s no-Default design protects at the
config level, carried through to the outcome.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.producer_signed: usizeCount of producer-signed revocations discovery found.
registry_attested: Option<usize>Count of registry-attested revocations discovery found, or
None if RevocationDiscovery::include_registry_attested
was false and that trust class was never queried.
Trait Implementations§
Source§impl Clone for DiscoveryOutcome
impl Clone for DiscoveryOutcome
impl Copy for DiscoveryOutcome
Source§impl Debug for DiscoveryOutcome
impl Debug for DiscoveryOutcome
impl Eq for DiscoveryOutcome
Source§impl PartialEq for DiscoveryOutcome
impl PartialEq for DiscoveryOutcome
impl StructuralPartialEq for DiscoveryOutcome
Auto Trait Implementations§
impl Freeze for DiscoveryOutcome
impl RefUnwindSafe for DiscoveryOutcome
impl Send for DiscoveryOutcome
impl Sync for DiscoveryOutcome
impl Unpin for DiscoveryOutcome
impl UnsafeUnpin for DiscoveryOutcome
impl UnwindSafe for DiscoveryOutcome
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.