[][src]Trait merkletree::merkle::FromIndexedParallelIterator

pub trait FromIndexedParallelIterator<T, U>: Sized where
    T: Send
{ fn from_par_iter<I>(par_iter: I) -> Result<Self>
    where
        U: Unsigned,
        I: IntoParallelIterator<Item = T>,
        I::Iter: IndexedParallelIterator
;
fn from_par_iter_with_config<I>(
        par_iter: I,
        config: StoreConfig
    ) -> Result<Self>
    where
        I: IntoParallelIterator<Item = T>,
        I::Iter: IndexedParallelIterator,
        U: Unsigned
; }

Required methods

fn from_par_iter<I>(par_iter: I) -> Result<Self> where
    U: Unsigned,
    I: IntoParallelIterator<Item = T>,
    I::Iter: IndexedParallelIterator

fn from_par_iter_with_config<I>(
    par_iter: I,
    config: StoreConfig
) -> Result<Self> where
    I: IntoParallelIterator<Item = T>,
    I::Iter: IndexedParallelIterator,
    U: Unsigned

Loading content...

Implementors

impl<T: Element, A: Algorithm<T>, K: Store<T>, U: Unsigned> FromIndexedParallelIterator<T, U> for MerkleTree<T, A, K, U>[src]

fn from_par_iter<I>(into: I) -> Result<Self> where
    I: IntoParallelIterator<Item = T>,
    I::Iter: IndexedParallelIterator
[src]

Creates new merkle tree from an iterator over hashable objects.

fn from_par_iter_with_config<I>(into: I, config: StoreConfig) -> Result<Self> where
    U: Unsigned,
    I: IntoParallelIterator<Item = T>,
    I::Iter: IndexedParallelIterator
[src]

Creates new merkle tree from an iterator over hashable objects.

Loading content...