Skip to main content

content_type

Function content_type 

Source
pub fn content_type(path: &Path) -> ContentType
Expand description

Returns the MIME type of file.