identity_iota_interaction

Trait QuorumDriverTrait

Source
pub trait QuorumDriverTrait {
    type Error;
    type NativeResponse;

    // Required method
    fn execute_transaction_block<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        tx_data_bcs: &'life1 TransactionDataBcs,
        signatures: &'life2 [SignatureBcs],
        options: Option<IotaTransactionBlockResponseOptions>,
        request_type: Option<ExecuteTransactionRequestType>,
    ) -> Pin<Box<dyn Future<Output = IotaRpcResult<Box<dyn IotaTransactionBlockResponseT<Error = Self::Error, NativeResponse = Self::NativeResponse>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Associated Types§

Source

type Error

Error type used

Source

type NativeResponse

The response type used in the platform specific client sdk

Required Methods§

Source

fn execute_transaction_block<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, tx_data_bcs: &'life1 TransactionDataBcs, signatures: &'life2 [SignatureBcs], options: Option<IotaTransactionBlockResponseOptions>, request_type: Option<ExecuteTransactionRequestType>, ) -> Pin<Box<dyn Future<Output = IotaRpcResult<Box<dyn IotaTransactionBlockResponseT<Error = Self::Error, NativeResponse = Self::NativeResponse>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§