Trait ssi::did::DIDMethod[][src]

pub trait DIDMethod: DIDResolver {
    fn name(&self) -> &'static str;
fn to_resolver(&self) -> &dyn DIDResolver; fn generate(&self, _source: &Source<'_>) -> Option<String> { ... } }

Required methods

Upcast the DID method as a DID resolver.

This is a workaround for not being able to cast a trait object to a supertrait object.

Implementations should simply return self.

Provided methods

Generate a DID from some source