Skip to main content

HandleDid

Trait HandleDid 

Source
pub trait HandleDid: Send + Sync {
    // Required method
    fn did_for<'a>(
        &'a self,
        handle: &'a str,
        private: PrivateAddresses,
    ) -> Forward<'a>;
}
Expand description

The DID a handle points at.

A trait so a test can resolve handles with no network.

Required Methods§

Source

fn did_for<'a>( &'a self, handle: &'a str, private: PrivateAddresses, ) -> Forward<'a>

The DID handle resolves to.

Implementors§