Trait ethcore::block::IsBlock[][src]

pub trait IsBlock {
    fn block(&self) -> &ExecutedBlock;

    fn to_base(&self) -> Block { ... }
fn header(&self) -> &Header { ... }
fn state(&self) -> &State<StateDB> { ... }
fn transactions(&self) -> &[SignedTransaction] { ... }
fn receipts(&self) -> &[Receipt] { ... }
fn uncles(&self) -> &[Header] { ... } }

Trait for a object that is a ExecutedBlock.

Required Methods

Get the ExecutedBlock associated with this object.

Provided Methods

Get the base Block object associated with this.

Get the header associated with this object's block.

Get the final state associated with this object's block.

Important traits for &'a [u8]

Get all information on transactions in this block.

Important traits for &'a [u8]

Get all information on receipts in this block.

Important traits for &'a [u8]

Get all uncles in this block.

Implementors