Crate mime[−][src]
Expand description
Mime
Mime is now Media Type, technically, but Mime
is more immediately
understandable, so the main type here is Mime
.
What is Mime?
Example mime string: text/plain;charset=utf-8
let plain_text: mime::Mime = "text/plain;charset=utf-8".parse().unwrap();
assert_eq!(plain_text, mime!(Text/Plain; Charset=Utf8));
Macros
Easily create a Mime without having to import so many enums.
Structs
Mime, or Media Type. Encapsulates common registers types.