pub trait MimeTypeSniffer {
// Required method
fn sniff_mime_type(&self) -> Option<&str>;
}
Expand description
Extension methods for MIME type sniffer
Required Methods§
Sourcefn sniff_mime_type(&self) -> Option<&str>
fn sniff_mime_type(&self) -> Option<&str>
sniff content for MIME type