Skip to main content

mime_of

Function mime_of 

Source
pub fn mime_of(path: &Path) -> Option<&'static str>
Expand description

A file’s MIME type, from its extension (the common ones).