Enum charsets::Charset [] [src]

pub enum Charset {
    UsAscii,
    Iso88591,
    Iso88592,
    Iso88593,
    Iso88594,
    Iso88595,
    Iso88596,
    Iso88597,
    Iso88598,
    Iso88599,
    Iso885910,
    ShiftJis,
    EucJp,
    Iso2022Kr,
    EucKr,
    Iso2022Jp,
    Iso2022Jp2,
    Iso88596E,
    Iso88596I,
    Iso88598E,
    Iso88598I,
    Gb2312,
    Big5,
    Koi8R,
    Utf8,
    Unregistered(String),
}

A Mime charset.

The string representation is normalised to upper case.

See http://www.iana.org/assignments/character-sets/character-sets.xhtml

Variants

US ASCII

ISO-8859-1

ISO-8859-2

ISO-8859-3

ISO-8859-4

ISO-8859-5

ISO-8859-6

ISO-8859-7

ISO-8859-8

ISO-8859-9

ISO-8859-10

Shift_JIS

EUC-JP

ISO-2022-KR

EUC-KR

ISO-2022-JP

ISO-2022-JP-2

ISO-8859-6-E

ISO-8859-6-I

ISO-8859-8-E

ISO-8859-8-I

GB2312

Big5

KOI8-R

UTF-8

An arbitrary charset specified as a string

Trait Implementations

impl PartialOrd for Charset
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Charset
[src]

This method returns an Ordering between self and other. Read more

impl Eq for Charset
[src]

impl Debug for Charset
[src]

Formats the value using the given formatter.

impl Clone for Charset
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Charset
[src]

Formats the value using the given formatter.

impl FromStr for Charset
[src]

The associated error which can be returned from parsing.

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

impl PartialEq for Charset
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.