[−][src]Enum transaction_pool::scoring::Choice
Represents a decision what to do with a new transaction that tries to enter the pool.
Variants
RejectNew
New transaction should be rejected (i.e. the old transaction that occupies the same spot is better).
ReplaceOld
The old transaction should be dropped in favour of the new one.
InsertNew
The new transaction should be inserted and both (old and new) should stay in the pool.
Trait Implementations
impl Eq for Choice
[src]
impl Clone for Choice
[src]
impl PartialEq<Choice> for Choice
[src]
impl Copy for Choice
[src]
impl Debug for Choice
[src]
Auto Trait Implementations
impl Send for Choice
impl Unpin for Choice
impl Sync for Choice
impl RefUnwindSafe for Choice
impl UnwindSafe for Choice
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,