Struct ssi_dids_core::resolution::HTTPDIDResolver
source · pub struct HTTPDIDResolver { /* private fields */ }
Expand description
A DID Resolver implementing a client for the DID Resolution HTTP(S) Binding.
Implementations§
Trait Implementations§
source§impl Clone for HTTPDIDResolver
impl Clone for HTTPDIDResolver
source§fn clone(&self) -> HTTPDIDResolver
fn clone(&self) -> HTTPDIDResolver
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl DIDResolver for HTTPDIDResolver
impl DIDResolver for HTTPDIDResolver
source§async fn resolve_representation<'a>(
&'a self,
did: &'a DID,
options: Options,
) -> Result<Output<Vec<u8>>, Error>
async fn resolve_representation<'a>( &'a self, did: &'a DID, options: Options, ) -> Result<Output<Vec<u8>>, Error>
Resolve a DID over HTTP(S), using the DID Resolution HTTP(S) Binding.
source§async fn resolve_with<'a>(
&'a self,
did: &'a DID,
options: Options,
) -> Result<Output, Error>
async fn resolve_with<'a>( &'a self, did: &'a DID, options: Options, ) -> Result<Output, Error>
Resolves a DID with the given options. Read more
source§async fn resolve<'a>(&'a self, did: &'a DID) -> Result<Output, Error>
async fn resolve<'a>(&'a self, did: &'a DID) -> Result<Output, Error>
Resolves a DID. Read more
source§async fn resolve_into_any_verification_method<'a>(
&'a self,
did: &'a DID,
) -> Result<Option<DIDVerificationMethod>, Error>
async fn resolve_into_any_verification_method<'a>( &'a self, did: &'a DID, ) -> Result<Option<DIDVerificationMethod>, Error>
Resolves a DID and extracts one of the verification methods it defines. Read more
source§async fn dereference_primary<'a>(
&'a self,
primary_did_url: &'a PrimaryDIDURL,
) -> Result<DerefOutput<PrimaryContent>, DerefError>
async fn dereference_primary<'a>( &'a self, primary_did_url: &'a PrimaryDIDURL, ) -> Result<DerefOutput<PrimaryContent>, DerefError>
Dereference a DID URL to retrieve the primary content. Read more
source§async fn dereference_primary_with<'a>(
&'a self,
primary_did_url: &'a PrimaryDIDURL,
resolve_options: Options,
) -> Result<DerefOutput<PrimaryContent>, DerefError>
async fn dereference_primary_with<'a>( &'a self, primary_did_url: &'a PrimaryDIDURL, resolve_options: Options, ) -> Result<DerefOutput<PrimaryContent>, DerefError>
Dereference a DID URL to retrieve the primary content. Read more
source§async fn dereference_primary_with_path_or_query<'a>(
&'a self,
_primary_did_url: &'a PrimaryDIDURL,
) -> Result<DerefOutput<PrimaryContent>, DerefError>
async fn dereference_primary_with_path_or_query<'a>( &'a self, _primary_did_url: &'a PrimaryDIDURL, ) -> Result<DerefOutput<PrimaryContent>, DerefError>
Dereference a DID URL with a path or query to retrieve the primary
content. Read more
source§async fn dereference_with<'a>(
&'a self,
did_url: &'a DIDURL,
options: Options,
) -> Result<DerefOutput, DerefError>
async fn dereference_with<'a>( &'a self, did_url: &'a DIDURL, options: Options, ) -> Result<DerefOutput, DerefError>
Dereference a DID URL. Read more
source§async fn dereference<'a>(
&'a self,
did_url: &'a DIDURL,
) -> Result<DerefOutput, DerefError>
async fn dereference<'a>( &'a self, did_url: &'a DIDURL, ) -> Result<DerefOutput, DerefError>
Dereference a DID URL. Read more
source§fn into_vm_resolver_with<M>(
self,
options: Options,
) -> VerificationMethodDIDResolver<Self, M>where
Self: Sized,
fn into_vm_resolver_with<M>(
self,
options: Options,
) -> VerificationMethodDIDResolver<Self, M>where
Self: Sized,
Turns this DID resolver into a verification method resolver. Read more
source§fn into_vm_resolver<M>(self) -> VerificationMethodDIDResolver<Self, M>where
Self: Sized,
fn into_vm_resolver<M>(self) -> VerificationMethodDIDResolver<Self, M>where
Self: Sized,
Turns this DID resolver into a verification method resolver. Read more
Auto Trait Implementations§
impl Freeze for HTTPDIDResolver
impl RefUnwindSafe for HTTPDIDResolver
impl Send for HTTPDIDResolver
impl Sync for HTTPDIDResolver
impl Unpin for HTTPDIDResolver
impl UnwindSafe for HTTPDIDResolver
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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
.