Enum 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 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

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

impl Clone for TopLevel

fn clone(&self) -> TopLevel

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