pub enum DIDTransactionCreationError {
Show 24 variants
UnimplementedTransaction(DIDTransactionKind),
UnimplementedDocumentOperation(DIDDocumentOperationKind),
UnsupportedDIDMethod(String),
UnsupportedOption {
operation: DIDTransactionKind,
option: String,
},
UnsupportedServiceProperty,
MissingRequiredUpdateKey,
MissingRequiredNewUpdateKey,
MissingRequiredRecoveryKey,
InvalidUpdateKey,
InvalidRecoveryKey,
InvalidVerificationKey,
SameUpdateAndRecoveryKeys,
UpdateKeyUnchanged,
RecoveryKeyUnchanged,
KeyGenerationFailed,
InvalidDID,
InvalidDIDURL,
InvalidVerificationMethod,
SignatureFailed,
MissingServiceEndpoint,
AmbiguousServiceEndpoint,
AmbiguousServiceType,
UnsupportedService {
reason: Cow<'static, str>,
},
Internal(String),
}
Variants§
UnimplementedTransaction(DIDTransactionKind)
UnimplementedDocumentOperation(DIDDocumentOperationKind)
UnsupportedDIDMethod(String)
UnsupportedOption
UnsupportedServiceProperty
MissingRequiredUpdateKey
MissingRequiredNewUpdateKey
MissingRequiredRecoveryKey
InvalidUpdateKey
InvalidRecoveryKey
InvalidVerificationKey
SameUpdateAndRecoveryKeys
UpdateKeyUnchanged
RecoveryKeyUnchanged
KeyGenerationFailed
InvalidDID
InvalidDIDURL
InvalidVerificationMethod
SignatureFailed
MissingServiceEndpoint
AmbiguousServiceEndpoint
AmbiguousServiceType
UnsupportedService
Internal(String)
Implementations§
Trait Implementations§
source§impl Debug for DIDTransactionCreationError
impl Debug for DIDTransactionCreationError
source§impl Error for DIDTransactionCreationError
impl Error for DIDTransactionCreationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DIDTransactionCreationError
impl RefUnwindSafe for DIDTransactionCreationError
impl Send for DIDTransactionCreationError
impl Sync for DIDTransactionCreationError
impl Unpin for DIDTransactionCreationError
impl UnwindSafe for DIDTransactionCreationError
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.