pub trait BlockProducer<TxSource>: Send + Sync {
// Required method
fn produce_without_commit(
&self,
component: Components<TxSource>,
) -> ExecutorResult<UncommittedResult<Changes>>;
}
Required Methods§
Sourcefn produce_without_commit(
&self,
component: Components<TxSource>,
) -> ExecutorResult<UncommittedResult<Changes>>
fn produce_without_commit( &self, component: Components<TxSource>, ) -> ExecutorResult<UncommittedResult<Changes>>
Executes the block and returns the result of execution with uncommitted database transaction.