Skip to main content

Method

Trait Method 

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

Required Methods§

Implementors§