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

pub enum TopLevel {
    Star,
    Text,
    Image,
    Audio,
    Video,
    Application,
    Multipart,
    Message,
    Model,
    Ext(String),
}

Variants

Star
Text
Image
Audio
Video
Application
Multipart
Message
Model
Ext

Trait Implementations

impl PartialEq<TopLevel> for TopLevel

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

fn ne(&self, &TopLevel) -> bool

impl String for TopLevel

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

impl FromStr for TopLevel

fn from_str(s: &str) -> Option<TopLevel>

Derived Implementations

impl Show for TopLevel

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

impl Clone for TopLevel

fn clone(&self) -> TopLevel

fn clone_from(&mut self, &TopLevel)