Enum ethcore::engines::block_reward::RewardKind   [−][src]
#[repr(u8)]pub enum RewardKind { Author, Uncle, EmptyStep, External, }
The kind of block reward. Depending on the consensus engine the allocated block reward might have different semantics which could lead e.g. to different reward values.
Variants
AuthorReward attributed to the block author.
UncleReward attributed to the block uncle(s).
EmptyStepReward attributed to the author(s) of empty step(s) included in the block (AuthorityRound engine).
ExternalReward attributed by an external protocol (e.g. block reward contract).
Trait Implementations
impl PartialEq for RewardKind[src] 
impl PartialEq for RewardKindfn eq(&self, other: &RewardKind) -> bool[src] 
fn eq(&self, other: &RewardKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src] 
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for RewardKind[src] 
impl Eq for RewardKindimpl Clone for RewardKind[src] 
impl Clone for RewardKindfn clone(&self) -> RewardKind[src] 
fn clone(&self) -> RewardKindReturns 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 Copy for RewardKind[src] 
impl Copy for RewardKindimpl Debug for RewardKind[src] 
impl Debug for RewardKindfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<RewardKind> for u16[src] 
impl From<RewardKind> for u16fn from(reward_kind: RewardKind) -> Self[src] 
fn from(reward_kind: RewardKind) -> SelfPerforms the conversion.
impl Into<RewardType> for RewardKind[src] 
impl Into<RewardType> for RewardKindfn into(self) -> RewardType[src] 
fn into(self) -> RewardTypePerforms the conversion.
Auto Trait Implementations
impl Send for RewardKind
impl Send for RewardKindimpl Sync for RewardKind
impl Sync for RewardKind