pub struct AnyResolver<R, M>(/* private fields */);Implementations§
Source§impl<R, M> AnyResolver<R, M>
impl<R, M> AnyResolver<R, M>
Trait Implementations§
Source§impl<R, M> VerificationMethodResolver for AnyResolver<R, M>where
R: VerificationMethodResolver<Method = AnyMethod>,
M: VerificationMethod + TryFrom<AnyMethod, Error = InvalidVerificationMethod> + Into<AnyMethod>,
impl<R, M> VerificationMethodResolver for AnyResolver<R, M>where
R: VerificationMethodResolver<Method = AnyMethod>,
M: VerificationMethod + TryFrom<AnyMethod, Error = InvalidVerificationMethod> + Into<AnyMethod>,
Source§async fn resolve_verification_method_with(
&self,
issuer: Option<&Iri>,
method: Option<ReferenceOrOwnedRef<'_, Self::Method>>,
options: ResolutionOptions,
) -> Result<Cow<'_, Self::Method>, VerificationMethodResolutionError>
async fn resolve_verification_method_with( &self, issuer: Option<&Iri>, method: Option<ReferenceOrOwnedRef<'_, Self::Method>>, options: ResolutionOptions, ) -> Result<Cow<'_, Self::Method>, VerificationMethodResolutionError>
Resolve the verification method reference.
Source§async fn resolve_verification_method(
&self,
issuer: Option<&Iri>,
method: Option<ReferenceOrOwnedRef<'_, Self::Method>>,
) -> Result<Cow<'_, Self::Method>, VerificationMethodResolutionError>
async fn resolve_verification_method( &self, issuer: Option<&Iri>, method: Option<ReferenceOrOwnedRef<'_, Self::Method>>, ) -> Result<Cow<'_, Self::Method>, VerificationMethodResolutionError>
Resolve the verification method reference with the default options.
Auto Trait Implementations§
impl<R, M> Freeze for AnyResolver<R, M>where
R: Freeze,
impl<R, M> RefUnwindSafe for AnyResolver<R, M>where
R: RefUnwindSafe,
M: RefUnwindSafe,
impl<R, M> Send for AnyResolver<R, M>
impl<R, M> Sync for AnyResolver<R, M>
impl<R, M> Unpin for AnyResolver<R, M>
impl<R, M> UnwindSafe for AnyResolver<R, M>where
R: UnwindSafe,
M: UnwindSafe,
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.