pub struct DidResolver {}
Trait Implementations§
source§impl Clone for DidResolver
impl Clone for DidResolver
source§fn clone(&self) -> DidResolver
fn clone(&self) -> DidResolver
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 Debug for DidResolver
impl Debug for DidResolver
source§impl DidResolver for DidResolver
impl DidResolver for DidResolver
fn new() -> Self
fn resolve<'life0, 'life1, 'async_trait>(
&'life0 self,
did: &'life1 Did,
) -> Pin<Box<dyn Future<Output = Result<Option<Box<dyn DidDocument>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve_key<'life0, 'life1, 'async_trait>(
&'life0 self,
kid: &'life1 DidKeyUri,
) -> Pin<Box<dyn Future<Output = Result<Option<DidKey>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve_dwn_key<'life0, 'life1, 'async_trait>(
&'life0 self,
did: &'life1 Did,
) -> Pin<Box<dyn Future<Output = Result<PublicKey, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_endpoints<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
dids: &'life1 [&'life2 Did],
) -> Pin<Box<dyn Future<Output = Result<Vec<Endpoint>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for DidResolver
impl RefUnwindSafe for DidResolver
impl Send for DidResolver
impl Sync for DidResolver
impl Unpin for DidResolver
impl UnwindSafe for DidResolver
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> 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
)