pub enum InvalidVerificationMethod {
InvalidIri(String),
InvalidTypeIri(IriBuf),
InvalidTypeName(String, String),
MissingProperty(String),
InvalidProperty(String),
AmbiguousPublicKey,
UnsupportedMethodType(String),
}
Variants§
InvalidIri(String)
InvalidTypeIri(IriBuf)
InvalidTypeName(String, String)
MissingProperty(String)
InvalidProperty(String)
AmbiguousPublicKey
UnsupportedMethodType(String)
Implementations§
Source§impl InvalidVerificationMethod
impl InvalidVerificationMethod
pub fn invalid_type_iri(iri: &Iri) -> Self
pub fn invalid_type_name(name: &str, expected: &str) -> Self
pub fn missing_property(name: &str) -> Self
pub fn invalid_property(name: &str) -> Self
Trait Implementations§
Source§impl Debug for InvalidVerificationMethod
impl Debug for InvalidVerificationMethod
Source§impl Display for InvalidVerificationMethod
impl Display for InvalidVerificationMethod
Source§impl Error for InvalidVerificationMethod
impl Error for InvalidVerificationMethod
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()
Source§impl From<InvalidVerificationMethod> for ProofValidationError
impl From<InvalidVerificationMethod> for ProofValidationError
Source§fn from(_value: InvalidVerificationMethod) -> Self
fn from(_value: InvalidVerificationMethod) -> Self
Converts to this type from the input type.
Source§impl From<InvalidVerificationMethod> for SignatureError
impl From<InvalidVerificationMethod> for SignatureError
Source§fn from(value: InvalidVerificationMethod) -> Self
fn from(value: InvalidVerificationMethod) -> Self
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl Freeze for InvalidVerificationMethod
impl RefUnwindSafe for InvalidVerificationMethod
impl Send for InvalidVerificationMethod
impl Sync for InvalidVerificationMethod
impl Unpin for InvalidVerificationMethod
impl UnwindSafe for InvalidVerificationMethod
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
.