pub async fn traverse_ranges_validated<D, O, F>(
data: D,
outboard: O,
ranges: &ChunkRangesRef,
send: &mut F,
) -> Result<(), F::Error>
Expand description
Traverse ranges relevant to a query from a reader and outboard to a stream
This function validates the data before writing.
It is possible to encode ranges from a partial file and outboard. This will either succeed if the requested ranges are all present, or fail as soon as a range is missing.