pub enum VerificationMethodResolutionError {
UnknownKey,
InvalidKeyId(String),
NotAVerificationMethod(String),
UnsupportedKeyId(String),
MissingVerificationMethod,
InvalidVerificationMethod(InvalidVerificationMethod),
InternalError(String),
}
Variants§
UnknownKey
InvalidKeyId(String)
Invalid key identifier.
NotAVerificationMethod(String)
Not a verification method.
UnsupportedKeyId(String)
Unsupported key identifier.
MissingVerificationMethod
InvalidVerificationMethod(InvalidVerificationMethod)
InternalError(String)
Verifier internal error.
Trait Implementations§
Source§impl Error for VerificationMethodResolutionError
impl Error for VerificationMethodResolutionError
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()
Source§impl From<InvalidVerificationMethod> for VerificationMethodResolutionError
impl From<InvalidVerificationMethod> for VerificationMethodResolutionError
Source§fn from(source: InvalidVerificationMethod) -> Self
fn from(source: InvalidVerificationMethod) -> Self
Converts to this type from the input type.
Source§impl From<VerificationMethodResolutionError> for ProofValidationError
impl From<VerificationMethodResolutionError> for ProofValidationError
Source§fn from(value: VerificationMethodResolutionError) -> Self
fn from(value: VerificationMethodResolutionError) -> Self
Converts to this type from the input type.
Source§impl From<VerificationMethodResolutionError> for SignatureError
impl From<VerificationMethodResolutionError> for SignatureError
Source§fn from(value: VerificationMethodResolutionError) -> Self
fn from(value: VerificationMethodResolutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VerificationMethodResolutionError
impl RefUnwindSafe for VerificationMethodResolutionError
impl Send for VerificationMethodResolutionError
impl Sync for VerificationMethodResolutionError
impl Unpin for VerificationMethodResolutionError
impl UnwindSafe for VerificationMethodResolutionError
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, 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
.