Trait ssi_dids_core::resolution::DIDResolverByMethod
source · pub trait DIDResolverByMethod {
type MethodResolver: DIDMethodResolver;
// Required method
fn get_method(&self, method_name: &str) -> Option<&Self::MethodResolver>;
// Provided method
fn supports_method(&self, method_name: &str) -> bool { ... }
}
Required Associated Types§
Required Methods§
sourcefn get_method(&self, method_name: &str) -> Option<&Self::MethodResolver>
fn get_method(&self, method_name: &str) -> Option<&Self::MethodResolver>
Returns a resolver for the given method name, if any.