bound_range

Function bound_range 

Source
async fn bound_range<R, D>(ds: &D, range: R) -> impl RangeBounds<usize>
Expand description

Apply an upper bound to a range based on the currently available block height.