#[non_exhaustive]pub enum UnknownReason {
Truncated,
Unanswerable,
Transient,
UnverifiableCandidate,
}Expand description
Why a revocation-discovery outcome is unknown (RFC-ACDP-0014 §8,
0.5.0). unknown is never folded into not-revoked.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Truncated
A search or lineage walk was cut short by a page, walk, or budget cap (§8 “Truncation is not completeness”).
Unanswerable
The vantage cannot answer: not_authorized (e.g.
anonymous_public_reads: false), not_implemented, or a
malformed discovery response.
Transient
A lookup failed transiently (DID host, registry, transport, or the discovery deadline).
UnverifiableCandidate
A candidate could be neither verified nor proven invalid (the §5 step 1 historical arm had no usable receipt).
Implementations§
Trait Implementations§
Source§impl Clone for UnknownReason
impl Clone for UnknownReason
Source§fn clone(&self) -> UnknownReason
fn clone(&self) -> UnknownReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnknownReason
Source§impl Debug for UnknownReason
impl Debug for UnknownReason
Source§impl<'de> Deserialize<'de> for UnknownReason
impl<'de> Deserialize<'de> for UnknownReason
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnknownReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnknownReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UnknownReason
impl Display for UnknownReason
impl Eq for UnknownReason
Source§impl Hash for UnknownReason
impl Hash for UnknownReason
Source§impl PartialEq for UnknownReason
impl PartialEq for UnknownReason
Source§impl Serialize for UnknownReason
impl Serialize for UnknownReason
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for UnknownReason
Auto Trait Implementations§
impl Freeze for UnknownReason
impl RefUnwindSafe for UnknownReason
impl Send for UnknownReason
impl Sync for UnknownReason
impl Unpin for UnknownReason
impl UnsafeUnpin for UnknownReason
impl UnwindSafe for UnknownReason
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.