mime_sniffer

Trait MimeTypeSniffable

Source
pub trait MimeTypeSniffable {
    // Required method
    fn should_sniff_mime_type(&self) -> bool;
}
Expand description

Should we sniff content for MIME type

Required Methods§

Source

fn should_sniff_mime_type(&self) -> bool

should we sniff content

Implementors§

Source§

impl<'a, T: 'a + AsRef<[u8]>> MimeTypeSniffable for HttpRequest<'a, T, Url>

Source§

impl<T: AsRef<[u8]>> MimeTypeSniffable for T