fn surface_iterator<'a>(config: &'a Configuration, max: u64, begin: u64, end: u64) -> Result<SurfaceIterator<'a>, String> {
	let (current, current_begin, digest_step, digest_level) = lower_bound_max_digest(config, max, begin, end)?;
	Ok(SurfaceIterator {
		config,
		begin,
		max,
		current: Some(current),
		current_begin,
		digest_step,
		digest_level,
	})
}
/// Returns surface iterator for given range of blocks.
Returns surface iterator for given range of blocks.
Returns surface iterator for given range of blocks .
fn surface_iterator<'a>(config: &'a Configuration, max: u64, begin: u64, end: u64) -> Result<SurfaceIterator<'a>, String> {
	let (current, current_begin, digest_step, digest_level) = lower_bound_max_digest(config, max, begin, end)?;
	Ok(SurfaceIterator {
		config,
		begin,
		max,
		current: Some(current),
		current_begin,
		digest_step,
		digest_level,
	})
}
fn surface_iterator < ' a > ( config : & ' a Configuration , max : u64 , begin : u64 , end : u64 ) -> Result < SurfaceIterator < ' a > , String > { let ( current , current_begin , digest_step , digest_level ) = lower_bound_max_digest ( config , max , begin , end ) ? ; Ok ( SurfaceIterator { config , begin , max , current : Some ( current ) , current_begin , digest_step , digest_level , } ) }
Returns surface iterator for given range of blocks.
Returns surface iterator for given range of blocks .
config
&'a Configuration
max
u64
begin
u64
end
u64
config
&'a Configuration
max
u64
begin
u64
end
u64