BlockExecutionApplication

Trait BlockExecutionApplication 

Source
pub trait BlockExecutionApplication {
    // Required method
    fn block_execution_context(&self) -> &RwLock<Option<BlockExecutionContext>>;
}
Expand description

Application that executes blocks and need to keep context between handlers

Required Methods§

Source

fn block_execution_context(&self) -> &RwLock<Option<BlockExecutionContext>>

Returns the current block execution context

Implementors§