Trait identity_iota::iota::IotaIdentityClient
source · 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§
sourcefn 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_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
.
sourcefn 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,
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.