Struct ethcore::block::ExecutedBlock
[−]
[src]
pub struct ExecutedBlock { /* fields omitted */ }
An internal type for a block's common elements.
Methods
impl ExecutedBlock
[src]
impl ExecutedBlock
pub fn env_info(&self) -> EnvInfo
[src]
pub fn env_info(&self) -> EnvInfo
Get 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 Tracing
Get mutable reference to traces.
Trait Implementations
impl Clone for ExecutedBlock
[src]
impl Clone for ExecutedBlock
fn clone(&self) -> ExecutedBlock
[src]
fn clone(&self) -> ExecutedBlock
Returns 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 ExecutedBlock
fn block(&self) -> &ExecutedBlock
[src]
fn block(&self) -> &ExecutedBlock
Get the ExecutedBlock
associated with this object.
fn to_base(&self) -> Block
[src]
fn to_base(&self) -> Block
Get the base Block
object associated with this.
fn header(&self) -> &Header
[src]
fn header(&self) -> &Header
Get 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) -> &Tracing
Get 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) -> bool
Get tracing enabled flag for this block.
impl LiveBlock for ExecutedBlock
[src]
impl LiveBlock for ExecutedBlock
type Header = Header
The block header type;
fn header(&self) -> &Header
[src]
fn header(&self) -> &Header
Get 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 ExecutedBlock
type 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 ExecutedBlock
fn is_finalized(&self) -> bool
[src]
fn is_finalized(&self) -> bool
Get 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 ExecutedBlock
Auto Trait Implementations
impl Send for ExecutedBlock
impl Send for ExecutedBlock
impl !Sync for ExecutedBlock
impl !Sync for ExecutedBlock