Enum tetsy_transaction_pool::scoring::Choice [−][src]
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
[src]
impl Send for Choice
[src]
impl Sync for Choice
[src]
impl Unpin for Choice
[src]
impl UnwindSafe for Choice
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,