Function input_with_interrupt

Source
pub fn input_with_interrupt<P: AsRef<Path>, F>(
    path: &P,
    closure: F,
) -> Result<Input, Error>
where F: FnMut() -> bool,