pub fn ext_from<P: AsRef<Path> + ?Sized>(path: &P) -> Result<&str>