Enum mime::Value [] [src]

pub enum Value {
    Utf8,
    Ext(String),
}

Variants

Utf8Ext(String)

Trait Implementations

impl Debug for Value
[src]

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

Formats the value using the given formatter.

impl Clone for Value
[src]

fn clone(&self) -> Value

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 Value
[src]

fn eq(&self, other: &Value) -> 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 Value
[src]

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

Formats the value using the given formatter.

impl FromStr for Value
[src]

type Err = ()

The associated error which can be returned from parsing.

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

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