Crate mimeExperimental[stability] [-]  [+] [src]

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 mime: Mime = "text/plain;charset=utf-8".parse().unwrap();
assert_eq!(mime, Mime(Text, Plain, vec![(Charset, Utf8)]));

Structs

Mime

Mime, or Media Type. Encapsulates common registers types.

Enums

Attr
SubLevel
TopLevel
Value

Type Definitions

Param