pub fn mime_type<T: MimeDb>(db: &T, path: &Path) -> Result<Option<Mime>>
Tries to identify the MIME type of a file from a given path.