Enum mime::SubLevel [] [src]

pub enum SubLevel {
    Star,
    Plain,
    Html,
    Xml,
    Javascript,
    Css,
    Json,
    WwwFormUrlEncoded,
    FormData,
    Png,
    Gif,
    Bmp,
    Jpeg,
    Ext(String),
}

Variants

StarPlainHtmlXmlJavascriptCssJsonWwwFormUrlEncodedFormDataPngGifBmpJpegExt(String)

Trait Implementations

impl Debug for SubLevel
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for SubLevel
[src]

fn clone(&self) -> SubLevel

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for SubLevel
[src]

fn eq(&self, other: &SubLevel) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Display for SubLevel
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl FromStr for SubLevel
[src]

type Err = ()

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<SubLevel()>

Parses a string s to return a value of this type. Read more