pub fn append_random_commitment_range<R: Rng>(
        &mut self,
        rng: &mut R,
        low: u128,
        high: u128,
    ) -> Result<(), ()> {
        for _ in 0..rng.gen_range(low..high) {
            self.append_random_commitment(rng)?;
        }
        Ok(())
    }
/// Append a random amount in range [low, high) of random commitments to the Merkle Tree `self`.
Append a random amount in range [low, high) of random commitments to the Merkle Tree `self`.
Append a random amount in range [ low high ) of random commitments to the Merkle Tree ` self ` .
pub fn append_random_commitment_range<R: Rng>(
        &mut self,
        rng: &mut R,
        low: u128,
        high: u128,
    ) -> Result<(), ()> {
        for _ in 0..rng.gen_range(low..high) {
            self.append_random_commitment(rng)?;
        }
        Ok(())
    }
pub fn append_random_commitment_range < R : Rng > ( & mut self , rng : & mut R , low : u128 , high : u128 , ) -> Result < ( ) , ( ) > { for _ in 0 .. rng . gen_range ( low .. high ) { self . append_random_commitment ( rng ) ? ; } Ok ( ( ) ) }
Append a random amount in range [low, high) of random commitments to the Merkle Tree `self`.
Append a random amount in range [ low high ) of random commitments to the Merkle Tree ` self ` .
&mut self
rng
&mut R
low
u128
high
u128
&mut self
rng
&mut R
low
u128
high
u128