Enum ethcore::trace::RewardType
[−]
[src]
pub enum RewardType { Block, Uncle, EmptyStep, External, }
Reward type.
Variants
Block
Block
Uncle
Uncle
EmptyStep
Empty step (AuthorityRound)
External
A reward directly attributed by an external protocol (e.g. block reward contract)
Trait Implementations
impl Into<RewardType> for RewardKind
[src]
impl Into<RewardType> for RewardKind
fn into(self) -> RewardType
[src]
fn into(self) -> RewardType
Performs the conversion.
impl Debug for RewardType
[src]
impl Debug for RewardType
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RewardType
[src]
impl PartialEq for RewardType
fn eq(&self, __arg_0: &RewardType) -> bool
[src]
fn eq(&self, __arg_0: &RewardType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for RewardType
[src]
impl Clone for RewardType
fn clone(&self) -> RewardType
[src]
fn clone(&self) -> RewardType
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for RewardType
[src]
impl Encodable for RewardType
fn rlp_append(&self, s: &mut RlpStream)
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for RewardType
[src]
impl Decodable for RewardType
Auto Trait Implementations
impl Send for RewardType
impl Send for RewardType
impl Sync for RewardType
impl Sync for RewardType