pub fn input_with_interrupt<P, F>( path_or_url: P, closure: F, ) -> Result<Input, Error>where P: AsRef<OsStr>, F: FnMut() -> bool,