Struct merkle_tree_stream::MerkleTreeStream[][src]

pub struct MerkleTreeStream<T: HashMethods> { /* fields omitted */ }

Main constructor. Takes an instance of HashMethods.

Methods

impl<H: HashMethods> MerkleTreeStream<H>
[src]

Create a new MerkleTreeStream instance.

Pass a string buffer through the flat-tree hash functions, and write the result back out to "nodes".

Important traits for Vec<u8>

Get the roots vector.

Trait Implementations

impl<T: Debug + HashMethods> Debug for MerkleTreeStream<T> where
    T::Node: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> !Send for MerkleTreeStream<T>

impl<T> !Sync for MerkleTreeStream<T>