pub trait Method: Send + Sync { // Required methods fn method_name(&self) -> &'static str; fn resolve( &self, did: Did, ) -> Pin<Box<dyn Future<Output = Result<Document, ResolutionError>> + Send + Sync>>; }
Attempt to resolve the provided DID to its DID document.