Skip to main content

SubmitNode

Trait SubmitNode 

Source
pub trait SubmitNode {
    // Required methods
    async fn submit_tx<O: IntoTxOp>(&self, ops: Vec<O>) -> Result<TxKey, Error>;
    async fn execute_tx<O: IntoTxOp>(
        &self,
        ops: Vec<O>,
    ) -> Result<TransactionResult, Error>;
}

Required Methods§

Source

async fn submit_tx<O: IntoTxOp>(&self, ops: Vec<O>) -> Result<TxKey, Error>

Source

async fn execute_tx<O: IntoTxOp>( &self, ops: Vec<O>, ) -> Result<TransactionResult, Error>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§