Struct tetsy_transaction_pool::UnorderedIterator[][src]

pub struct UnorderedIterator<'a, T, R, S> where
    T: VerifiedTransaction + 'a,
    S: Scoring<T> + 'a, 
{ /* fields omitted */ }

An iterator over all pending (ready) transactions in unoredered fashion.

NOTE: Current implementation will iterate over all transactions from particular sender ordered by nonce, but that might change in the future.

NOTE: the transactions are not removed from the queue. You might remove them later by calling cull.

Trait Implementations

impl<'a, T, R, S> Iterator for UnorderedIterator<'a, T, R, S> where
    T: VerifiedTransaction,
    R: Ready<T>,
    S: Scoring<T>, 
[src]

type Item = Arc<T>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, R, S> RefUnwindSafe for UnorderedIterator<'a, T, R, S> where
    R: RefUnwindSafe,
    T: RefUnwindSafe,
    <S as Scoring<T>>::Score: RefUnwindSafe,
    <T as VerifiedTransaction>::Sender: RefUnwindSafe
[src]

impl<'a, T, R, S> Send for UnorderedIterator<'a, T, R, S> where
    R: Send,
    T: Send + Sync,
    <S as Scoring<T>>::Score: Sync,
    <T as VerifiedTransaction>::Sender: Sync
[src]

impl<'a, T, R, S> Sync for UnorderedIterator<'a, T, R, S> where
    R: Sync,
    T: Send + Sync,
    <S as Scoring<T>>::Score: Sync,
    <T as VerifiedTransaction>::Sender: Sync
[src]

impl<'a, T, R, S> Unpin for UnorderedIterator<'a, T, R, S> where
    R: Unpin
[src]

impl<'a, T, R, S> UnwindSafe for UnorderedIterator<'a, T, R, S> where
    R: UnwindSafe,
    T: RefUnwindSafe,
    <S as Scoring<T>>::Score: RefUnwindSafe,
    <T as VerifiedTransaction>::Sender: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.