Function mime_guess::get_mime_type_opt
[−]
[src]
pub fn get_mime_type_opt(search_ext: &str) -> Option<Mime>
Get the MIME type associated with a file extension.
If there is no association for the extension, or ext
is empty,
None
is returned.