Enum hyper::mime::TopLevel [-] [+] [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, other: &Rhs) -> bool

impl Display for TopLevel

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

impl FromStr for TopLevel

type Err = ()

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

Derived Implementations

impl Debug for TopLevel

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

impl Clone for TopLevel

fn clone(&self) -> TopLevel

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