Enum hyper::mime::SubLevel [-] [+] [src]

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

Variants

Star
Plain
Html
Xml
Javascript
Css
Json
WwwFormUrlEncoded
FormData
Png
Gif
Bmp
Jpeg
Ext

Trait Implementations

impl PartialEq<SubLevel> for SubLevel

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

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

impl Display for SubLevel

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

impl FromStr for SubLevel

type Err = ()

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

Derived Implementations

impl Debug for SubLevel

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

impl Clone for SubLevel

fn clone(&self) -> SubLevel

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