pub trait Method {
// Required methods
fn method_name(&self) -> &'static str;
fn resolve(
&self,
did: Did,
) -> Pin<Box<dyn Future<Output = Result<Document, ResolutionError>>>>;
}pub trait Method {
// Required methods
fn method_name(&self) -> &'static str;
fn resolve(
&self,
did: Did,
) -> Pin<Box<dyn Future<Output = Result<Document, ResolutionError>>>>;
}