pub trait Method: Send + Sync {
// Required methods
fn method_name(&self) -> &'static str;
fn resolve(
&self,
did: Did,
) -> MethodFuture<Result<Document, ResolutionError>>;
}pub trait Method: Send + Sync {
// Required methods
fn method_name(&self) -> &'static str;
fn resolve(
&self,
did: Did,
) -> MethodFuture<Result<Document, ResolutionError>>;
}