[−][src]Enum transaction_pool::scoring::Choice
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 Clone for Choice
[src]
impl Copy for Choice
[src]
impl Debug for Choice
[src]
impl Eq for Choice
[src]
impl PartialEq<Choice> for Choice
[src]
impl StructuralEq for Choice
[src]
impl StructuralPartialEq for Choice
[src]
Auto Trait Implementations
impl RefUnwindSafe for Choice
impl Send for Choice
impl Sync for Choice
impl Unpin for Choice
impl UnwindSafe for Choice
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,