pub enum DidQiError {
RejectedPrefix,
InvalidPrefix,
MalformedId,
InvalidHint,
DigestMismatch,
NonMonotonicGeneration,
Deactivated,
UnauthorizedRelationship,
DirectLocatorForbidden,
}Expand description
Errors returned by the zero-heap did:qi URI parser and lifecycle verifiers.
Variants§
RejectedPrefix
A retired or non-sovereign prefix (did:hcai:, did:hci:, did:hcinet:,
did:qualia:, or did:q42:) was supplied where did:qi: is required.
InvalidPrefix
Input does not begin with did:qi:.
MalformedId
Method-specific identifier is malformed or fails base58btc decoding.
InvalidHint
Unknown or malformed DID parameter hint (;versionId= or ;qi:backing=).
DigestMismatch
Genesis SHA-256 digest does not match the canonical genesis payload.
NonMonotonicGeneration
Update generation is not strictly prev_generation + 1.
Deactivated
Document has been permanently deactivated via a tombstone record.
Verification relationship is not authorized for the requested operation
(e.g. Authentication key attempting a document update or route update).
DirectLocatorForbidden
Service endpoint violates the no-direct-locator invariant (https://, IP, etc.).
Trait Implementations§
Source§impl Clone for DidQiError
impl Clone for DidQiError
impl Copy for DidQiError
Source§impl Debug for DidQiError
impl Debug for DidQiError
impl Eq for DidQiError
Source§impl From<QiError> for DidQiError
impl From<QiError> for DidQiError
Source§impl PartialEq for DidQiError
impl PartialEq for DidQiError
impl StructuralPartialEq for DidQiError
Auto Trait Implementations§
impl Freeze for DidQiError
impl RefUnwindSafe for DidQiError
impl Send for DidQiError
impl Sync for DidQiError
impl Unpin for DidQiError
impl UnsafeUnpin for DidQiError
impl UnwindSafe for DidQiError
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more