Crate media_types

Source
Expand description

Media Types also known as MIME types describe the nature of data they are used in email to describe the file type of attachments and in HTTP to to give the type of a resource.

There are many RFCs describing media types the two most important for this crate is [RFC 2046 - Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types] (https://tools.ietf.org/html/rfc2046).

Re-exports§

Structs§

  • A Media Type commonly used to describe the contents of a resource.

Enums§

  • A Mime charset.
  • Defines an Error type for media types.
  • Provides the four registration trees.
  • Provides the six discrete and the two composite top-level media types.

Type Aliases§

  • Result type used for this library.