Struct ethcore::block::ExecutedBlock
[−]
[src]
pub struct ExecutedBlock { /* fields omitted */ }An internal type for a block's common elements.
Methods
impl ExecutedBlock[src]
impl ExecutedBlockpub fn env_info(&self) -> EnvInfo[src]
pub fn env_info(&self) -> EnvInfoGet the environment info concerning this block.
pub fn state_mut(&mut self) -> &mut State<StateDB>[src]
pub fn state_mut(&mut self) -> &mut State<StateDB>Get mutable access to a state.
pub fn traces_mut(&mut self) -> &mut Tracing[src]
pub fn traces_mut(&mut self) -> &mut TracingGet mutable reference to traces.
Trait Implementations
impl Clone for ExecutedBlock[src]
impl Clone for ExecutedBlockfn clone(&self) -> ExecutedBlock[src]
fn clone(&self) -> ExecutedBlockReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl IsBlock for ExecutedBlock[src]
impl IsBlock for ExecutedBlockfn block(&self) -> &ExecutedBlock[src]
fn block(&self) -> &ExecutedBlockGet the ExecutedBlock associated with this object.
fn to_base(&self) -> Block[src]
fn to_base(&self) -> BlockGet the base Block object associated with this.
fn header(&self) -> &Header[src]
fn header(&self) -> &HeaderGet the header associated with this object's block.
fn state(&self) -> &State<StateDB>[src]
fn state(&self) -> &State<StateDB>Get the final state associated with this object's block.
fn transactions(&self) -> &[SignedTransaction][src]
fn transactions(&self) -> &[SignedTransaction]Get all information on transactions in this block.
fn receipts(&self) -> &[Receipt][src]
fn receipts(&self) -> &[Receipt]Get all information on receipts in this block.
fn traces(&self) -> &Tracing[src]
fn traces(&self) -> &TracingGet all information concerning transaction tracing in this block.
fn uncles(&self) -> &[Header][src]
fn uncles(&self) -> &[Header]Get all uncles in this block.
fn tracing_enabled(&self) -> bool[src]
fn tracing_enabled(&self) -> boolGet tracing enabled flag for this block.
impl LiveBlock for ExecutedBlock[src]
impl LiveBlock for ExecutedBlocktype Header = Header
The block header type;
fn header(&self) -> &Header[src]
fn header(&self) -> &HeaderGet a reference to the header.
fn uncles(&self) -> &[Header][src]
fn uncles(&self) -> &[Header]Get a reference to the uncle headers. If the block type doesn't support uncles, return the empty slice. Read more
impl Transactions for ExecutedBlock[src]
impl Transactions for ExecutedBlocktype Transaction = SignedTransaction
The transaction type.
fn transactions(&self) -> &[SignedTransaction][src]
fn transactions(&self) -> &[SignedTransaction]Get a reference to the transactions in this block.
impl Finalizable for ExecutedBlock[src]
impl Finalizable for ExecutedBlockfn is_finalized(&self) -> bool[src]
fn is_finalized(&self) -> boolGet whether the block is finalized.
fn mark_finalized(&mut self)[src]
fn mark_finalized(&mut self)Mark the block as finalized.
impl WithMetadata for ExecutedBlock[src]
impl WithMetadata for ExecutedBlockAuto Trait Implementations
impl Send for ExecutedBlock
impl Send for ExecutedBlockimpl !Sync for ExecutedBlock
impl !Sync for ExecutedBlock