Enum transaction_pool::scoring::Choice[][src]

pub enum Choice {
    RejectNew,
    ReplaceOld,
    InsertNew,
}

Represents a decision what to do with a new transaction that tries to enter the pool.

Variants

New transaction should be rejected (i.e. the old transaction that occupies the same spot is better).

The old transaction should be dropped in favour of the new one.

The new transaction should be inserted and both (old and new) should stay in the pool.

Trait Implementations

impl Debug for Choice
[src]

Formats the value using the given formatter. Read more

impl Clone for Choice
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Choice
[src]

impl PartialEq for Choice
[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 Choice
[src]

Auto Trait Implementations

impl Send for Choice

impl Sync for Choice