Module mime
Expand description
Re-export of the mime
crate.
Support MIME (Media Types) as strong types in Rust.
Structs§
- An error when parsing a
Mime
from a string. - A parsed mime or media type.
- An iterator of parsed mime
- A section of a
Mime
. - An iterator over the parameters of a MIME.
Constants§
- application
application/javascript
application/javascript; charset=utf-8
application/json
application/msgpack
application/octet-stream
application/pdf
application/x-www-form-urlencoded
- audio
- basic
- bmp
- boundary
- charset
- css
- csv
- event-stream
- font
font/woff
font/woff2
- form-data
- gif
- html
- image
image/bmp
image/gif
image/jpeg
image/png
image/*
image/svg+xml
- javascript
- jpeg
- json
- message
- model
- mp4
- mpeg
- msgpack
- multipart
multipart/form-data
- octet-stream
- ogg
- pdf
- plain
- png
*/*
- svg
- text
text/css
text/css; charset=utf-8
text/csv
text/csv; charset=utf-8
text/event-stream
text/html
text/html; charset=utf-8
text/javascript
text/plain
text/plain; charset=utf-8
text/*
text/tab-separated-values
text/tab-separated-values; charset=utf-8
text/vcard
text/xml
- utf-8
- vcard
- video
- woff
- woff2
- x-www-form-urlencoded
- xml