Struct ethcore::encoded::Body[][src]

pub struct Body(_);

Owning block body view.

Methods

impl Body
[src]

Create a new owning block body view. The raw bytes passed in must be an rlp-encoded block body.

Get a borrowed view of the data within.

Fully decode this block body.

Get the RLP of this block body.

Important traits for Vec<u8>

Consume the view and return the raw bytes.

impl Body
[src]

Get raw rlp of transactions

Important traits for Vec<u8>

Get a vector of all transactions.

Number of transactions in the block.

Important traits for Vec<u8>

A view over each transaction in the block.

Important traits for Vec<u8>

The hash of each transaction in the block.

Get raw rlp of uncle headers

Important traits for Vec<u8>

Decode uncle headers.

Number of uncles.

Important traits for Vec<u8>

Borrowed view over each uncle.

Important traits for Vec<u8>

Hash of each uncle.

Trait Implementations

impl Debug for Body
[src]

Formats the value using the given formatter. Read more

impl Clone for Body
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Body
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Body
[src]

impl HeapSizeOf for Body
[src]

Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more

Auto Trait Implementations

impl Send for Body

impl Sync for Body