Trait mime::AsMimeTypes
source · pub trait AsMimeTypes {
// Required methods
fn available(&self) -> Cow<'static, [String]>;
fn as_bytes(&self, mime_type: &str) -> Option<Cow<'static, [u8]>>;
}
Expand description
Can be converted to data with the available mime types.