Skip to main content

AsyncSendTransactionWithSimpleStatus

Trait AsyncSendTransactionWithSimpleStatus 

Source
pub trait AsyncSendTransactionWithSimpleStatus: AsyncSendTransaction {
    // Required method
    fn send_transaction_with_simple_status<'life0, 'async_trait>(
        &'life0 self,
        transaction: Transaction,
        send_ctx: SendContext,
    ) -> Pin<Box<dyn Future<Output = Result<(Signature, Option<TransactionError>), ClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn send_transaction_with_simple_status<'life0, 'async_trait>( &'life0 self, transaction: Transaction, send_ctx: SendContext, ) -> Pin<Box<dyn Future<Output = Result<(Signature, Option<TransactionError>), ClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§