pub trait DidResolver:
Send
+ Sync
+ 'static {
// Required method
fn resolve<'a>(
&'a self,
did_url: &'a str,
) -> Pin<Box<dyn Future<Output = Result<Option<PublicKey>, Error>> + Send + 'a>>;
}Expand description
Resolves the DID URLs of methods other than did:key to keys.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".