[][src]Trait bookbinder_common::GuessMimeType

pub trait GuessMimeType {
    fn guess_mime(&self) -> Option<MimeType>;
}

Helper to guess the mimetype of paths

Required methods

fn guess_mime(&self) -> Option<MimeType>

guess the mimetype of this object

Loading content...

Implementors

impl<T> GuessMimeType for T where
    T: AsRef<Path>, 
[src]

fn guess_mime(&self) -> Option<MimeType>[src]

guess the mimetype of this path-like object

Loading content...