pub fn split_range(
ranges: &[AvailableRange],
requested_start: u64,
requested_end: u64,
) -> Result<Vec<(u64, u64)>, String>Expand description
Split a user-requested [start_slot, end_slot] range across the available
bundle ranges, returning a list of non-overlapping (start, end) pairs — one
per bundle that intersects the requested range.
Returns an error if the requested start slot is not covered by any range.