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§

source

fn get_method(&self, method_name: &str) -> Option<&Self::MethodResolver>

Returns a resolver for the given method name, if any.

Provided Methods§

source

fn supports_method(&self, method_name: &str) -> bool

Implementors§