Struct ethcore::verification::queue::kind::blocks::Unverified
[−]
[src]
pub struct Unverified { /* fields omitted */ }
An unverified block.
Methods
impl Unverified
[src]
impl Unverified
pub fn from_rlp(bytes: Bytes) -> Result<Self, DecoderError>
[src]
pub fn from_rlp(bytes: Bytes) -> Result<Self, DecoderError>
Create an Unverified
from raw bytes.
Trait Implementations
impl HeapSizeOf for Unverified
[src]
impl HeapSizeOf for Unverified
fn heap_size_of_children(&self) -> usize
[src]
fn heap_size_of_children(&self) -> usize
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
impl BlockLike for Unverified
[src]
impl BlockLike for Unverified
fn hash(&self) -> H256
[src]
fn hash(&self) -> H256
Get the hash of this item.
fn parent_hash(&self) -> H256
[src]
fn parent_hash(&self) -> H256
Get the hash of this item's parent.
fn difficulty(&self) -> U256
[src]
fn difficulty(&self) -> U256
Get the difficulty of this item.
Auto Trait Implementations
impl Send for Unverified
impl Send for Unverified
impl Sync for Unverified
impl Sync for Unverified