input_with_interrupt

Function input_with_interrupt 

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