read_lines_from_file

Function read_lines_from_file 

Source
pub fn read_lines_from_file(
    path: &Path,
    start: usize,
    end: usize,
) -> Result<Vec<String>, Error>
Expand description

Read specific lines from a file

§Errors

if the file cannot be read

§Panics

if the lines are out of bounds