Skip to main content

try_read_at_many

Function try_read_at_many 

Source
pub fn try_read_at_many(
    handle: &Handle,
    ranges: &[(usize, usize)],
    dst: &mut Vec<u64>,
) -> Result<()>
Available on crate feature pager and Unix only.
Expand description

Fallible counterpart to read_at_many. Caller-side preconditions (out-of-bounds, overlapping ranges) still panic; I/O failures return Err.