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 traces(&self) -> &Tracing { ... }
fn uncles(&self) -> &[Header] { ... }
fn tracing_enabled(&self) -> bool { ... }
}Trait for a object that is a ExecutedBlock.
Required Methods
fn block(&self) -> &ExecutedBlock
Get the ExecutedBlock associated with this object.
Provided Methods
fn to_base(&self) -> Block
Get the base Block object associated with this.
fn header(&self) -> &Header
Get the header associated with this object's block.
fn state(&self) -> &State<StateDB>
Get the final state associated with this object's block.
fn transactions(&self) -> &[SignedTransaction]
Get all information on transactions in this block.
fn receipts(&self) -> &[Receipt]
Get all information on receipts in this block.
fn traces(&self) -> &Tracing
Get all information concerning transaction tracing in this block.
fn uncles(&self) -> &[Header]
Get all uncles in this block.
fn tracing_enabled(&self) -> bool
Get tracing enabled flag for this block.
Implementors
impl IsBlock for ExecutedBlockimpl<'x> IsBlock for OpenBlock<'x>impl<'x> IsBlock for ClosedBlockimpl<'x> IsBlock for LockedBlockimpl IsBlock for SealedBlock