Enum ethcore::trace::RewardType
[−]
[src]
pub enum RewardType {
Block,
Uncle,
EmptyStep,
External,
}Reward type.
Variants
BlockBlock
UncleUncle
EmptyStepEmpty step (AuthorityRound)
ExternalA reward directly attributed by an external protocol (e.g. block reward contract)
Trait Implementations
impl Into<RewardType> for RewardKind[src]
impl Into<RewardType> for RewardKindfn into(self) -> RewardType[src]
fn into(self) -> RewardTypePerforms the conversion.
impl Debug for RewardType[src]
impl Debug for RewardTypefn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for RewardType[src]
impl PartialEq for RewardTypefn eq(&self, __arg_0: &RewardType) -> bool[src]
fn eq(&self, __arg_0: &RewardType) -> 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 Clone for RewardType[src]
impl Clone for RewardTypefn clone(&self) -> RewardType[src]
fn clone(&self) -> RewardTypeReturns 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 RewardTypefn 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 RewardTypeAuto Trait Implementations
impl Send for RewardType
impl Send for RewardTypeimpl Sync for RewardType
impl Sync for RewardType