pub trait IotaIdentityClient {
    // Required methods
    fn get_alias_output<'life0, 'async_trait>(
        &'life0 self,
        alias_id: AliasId
    ) -> Pin<Box<dyn Future<Output = Result<(OutputId, AliasOutput), Error>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn get_protocol_parameters<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<ProtocolParameters, Error>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}
Expand description

Helper functions necessary for the IotaIdentityClientExt trait.

Required Methods§

source

fn get_alias_output<'life0, 'async_trait>( &'life0 self, alias_id: AliasId ) -> Pin<Box<dyn Future<Output = Result<(OutputId, AliasOutput), Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Resolve an Alias identifier, returning its latest OutputId and AliasOutput.

source

fn get_protocol_parameters<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<ProtocolParameters, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get the protocol parameters of the node we are trying to connect to.

Implementations on Foreign Types§

source§

impl IotaIdentityClient for Client

source§

fn get_protocol_parameters<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<ProtocolParameters, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Client: 'async_trait,

source§

fn get_alias_output<'life0, 'async_trait>( &'life0 self, id: AliasId ) -> Pin<Box<dyn Future<Output = Result<(OutputId, AliasOutput), Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Client: 'async_trait,

Implementors§