Enum email::mimeheaders::MimeContentTransferEncoding [] [src]

pub enum MimeContentTransferEncoding {
    Identity,
    QuotedPrintable,
    Base64,
}

Special header type for the Content-Transfer-Encoding header.

Variants

Message content is not encoded in any way.

Content transfered using the quoted-printable encoding.

This encoding is defined in RFC 2045 Section 6.7

Content transfered as BASE64

This encoding is defined in RFC 2045 Section 6.8

Methods

impl MimeContentTransferEncoding
[src]

[src]

Decode the input string with this transfer encoding.

Note that this will return a clone of the input's bytes if the transfer encoding is the Identity encoding. [unstable]

Trait Implementations

impl Debug for MimeContentTransferEncoding
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for MimeContentTransferEncoding
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for MimeContentTransferEncoding
[src]

impl Clone for MimeContentTransferEncoding
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MimeContentTransferEncoding
[src]

impl FromHeader for MimeContentTransferEncoding
[src]

[src]

Parse the value of the header. Read more